How can you find the nodes with repetetive data in a linked
list?



How can you find the nodes with repetetive data in a linked list?..

Answer / murali

By parsing/processing the nodes
we attain O(n) to O(log(n)) depending on the type of data-
structure

Is This Answer Correct ?    2 Yes 9 No

Post New Answer

More C++ General Interview Questions

What do you mean by pure virtual functions in C++? Give an example?

1 Answers  


Write a program to concatenate two strings.

0 Answers  


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

0 Answers  


What is a memory leak c++?

0 Answers  


show that among any group of five (not necessary consecutive ) integers, there are two with the same remainder when divided by 4.

1 Answers  


What is a try block?

0 Answers  


difference between macro and function?

3 Answers  


What is the difference between a constructor and a destructor in C++?

1 Answers  


Can we use resume in error handling i.e. in the catch block

5 Answers   Infosys,


What does std :: flush do?

0 Answers  


Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.

0 Answers  


What is the difference between while and do while loop?

0 Answers  


Categories