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.
Answers were Sorted based on User's Feedback
Answer / gsrinivas
1.Data structure is mathematicle model to represent a data
in a computers memory.programming becomes easy.
Is This Answer Correct ? | 12 Yes | 4 No |
Answer / 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 |
Answer / tejveer sambariya
data structure is a specialized format for organizing and storing data.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / mallikharjuna rao k
Data Structure is a collection of logical and mathematical
representation of data.
Is This Answer Correct ? | 2 Yes | 1 No |
Write a program on swapping (100, 50)
Is c# a good language?
What is a class c rental property?
What does %p mean?
How to add two numbers with using function?
Why do we use namespace feature?
What is the use of static variable in c?
pgm in c to reverse string by word using array(god is love becomes love is god) (no additional array can used,space is only delimiter between words )
How to access or modify the const variable in c ?
16 Answers HCL, HP,
6)swap(int x,y) { int temp; temp=x; x=y; y=temp; } main() { int x=2;y=3; swap(x,y); } after calling swap ,what are yhe values x&y?
Tell us the difference between these two : #include"stdio.h" #include<stdio.h> define in detial.
create an SINGLE LINKED LISTS and reverse the data in the lists completely