recategorized by
347 views
0 votes
0 votes
closed with the note: Got some  confusion.

How can the answer to both is a?Are'nt they contradict if answer is a?

recategorized by

Related questions

0 votes
0 votes
1 answer
1
Mrityudoot asked Feb 25
195 views
How can we find the highest element in a singly linked list in O(1)? We are free to use any extra space.
0 votes
0 votes
1 answer
3
Vaishnavi01 asked Sep 17, 2018
653 views
struct node* foo(struct node* a, struct node* b){ struct node* result, *rec; if(a==null) return b; else if(b==null) return a; else { rec=foo(a->next,b->next...
1 votes
1 votes
1 answer
4
pradeepchaudhary asked Aug 19, 2018
1,821 views
What kind of linked list is best to answer question like “What is the item at position n?”a) Singly linked listb) Doubly linked listc) Circular linked listd) Array im...