Q1
Linked List In C
Q2
N-2 Problem
Q3
Convert a doubly linked list to a Binary Search Tree
Q4
Test cases for overlap of rectangles
Q5
Reverse a string - word by word
For example a string like "This is good day" would be written as
"day good is This"
struct node { char info[50]; struct node link; }; struct node insert(struct node ,char ); struct node display(struct node start); int main() { char buff[50],str[50]; struct node *start=0; int i,j=0,cnt=0,k=0; printf("enter str:"); scanf("%[^\n]s",str);
for(i=0;str[i];i++) { j=i; while((str[i]!=' ') &&( str[i+1]!='\0')) { cnt++; i++; } for(k=0;k<=cnt;k++) { buff[k]=str[j++];
} buff[k]='\0'; start=insert(start,buff); cnt=0; } start=display(start);
printf(...
show more
Q6
Find out non repeating numbers
Q7
Match two board configurations of tic-tac-toe problem
Q8
Copy sub-array within an array
Q9
How will you save binary tree in a disk such that you can retrieve it later
Q10
Find the sub-array with the largest sum