1.What is a Data Structure? Explain its need?
2.What is a Directed Graph? Write an algorithm to find
whether a Directed Graph is connected or not?
3.Explain the process of converting a Tree to a Binary Tree.
Answer Posted / diwakar anand
What is a Data Structure? Explain its need?
Ans- 1. A data structure is a systematic way of
organizing and accessing data.
2. A data structure tries to structure data!
* Usually more than one piece of data
* Should define legal operations on the data
* The data might be grouped together (e.g. in an
linked list)
3. When we define a data structure we are in fact
creating a new data type of our own.
* i.e. using predefined types or previously user
defined types.
* Such new types are then used to reference
variables type within a program
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How can I implement a delay, or time a users response, with sub-second resolution?
What is bubble sort technique in c?
Explain the Difference between the New and Malloc keyword.
What should malloc() do?
Why do we use main function?
What is main function in c?
how to solve "unable to open stdio.h and conio.h header files in windows 7 by using Dos-box software
Why are algorithms important in c program?
Can you write a programmer for FACTORIAL using recursion?
Does sprintf put null character?
What are the advantages of c preprocessor?
Explain what is the heap?
What do you mean by keywords in c?
What is difference between union All statement and Union?
How to establish connection with oracle database software from c language?