plz send me all data structure related programs
Answers were Sorted based on User's Feedback
To start with data structures, Linked lists comes 1st.
Hands on experience with the following questions will give
good confidence to a programmer.
1. Creating a list (Single linked list or double linked
list)
a. add node to front of the list
b. add node to end of the list
c. add node to middle of the list
d. Delete first node
e. Delete last node
f. Delete middle node
2. Identifying Loop or circle in a single linked list
3. Reversing a linked list(single and double)
4. finding middle node of a list
5. All the above programs can be extended to develop a
generic linked list even.
In the above programs stacks and queues concepts are
covered. To develop Stack LIFO concept is followed.
To develop Queue FIFO concept is followed.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / papa_structure
stacks, queues, linklist, trees, graphs and
sorting.....leave these topics and rest all are data
structures..................................................
............................................................
............................................................
............................................................
...........
dumbo!!!!!!!!!!!!think b4ore u ask.........
| Is This Answer Correct ? | 0 Yes | 0 No |
void main() { char ch; for(ch=0;ch<=127;ch++) printf(ā%c %d \nā, ch, ch); }
Printf can be implemented by using __________ list.
program to Reverse a linked list
12 Answers Aricent, Microsoft, Ness Technologies,
Finding a number which was log of base 2
main() { int i = 257; int *iPtr = &i; printf("%d %d", *((char*)iPtr), *((char*)iPtr+1) ); }
main() { int i=400,j=300; printf("%d..%d"); }
main() { { unsigned int bit=256; printf("%d", bit); } { unsigned int bit=512; printf("%d", bit); } } a. 256, 256 b. 512, 512 c. 256, 512 d. Compile error
main() { char a[4]="HELLO"; printf("%s",a); }
write a c program to Create employee record by taking details like name, employee id, address and phone number. While taking the phone number, take either landline or mobile number. Ensure that the phone numbers of the employee are unique. Also display all the details
write a origram swaoing valu without 3rd variable
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
Write a c program to search an element in an array using recursion