ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  C++ General
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
How can you find the nodes with repetetive data in a linked 
list?
 Question Submitted By :: Tina Saha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can you find the nodes with repetetive data in a linked list?
Answer
# 1
By parsing/processing the nodes 
we attain O(n) to O(log(n)) depending on the type of data-
structure
 
Is This Answer Correct ?    0 Yes 1 No
Murali
 

 
 
 
Other C++ General Interview Questions
 
  Question Asked @ Answers
 
How to write Multithreaded applications using C++? Honeywell2
What happens if an exception is throws from an, object's constructor and object's destructor? Wipro1
What is the difference between Pointer and a Reference? When you would use them? Wipro2
How do I open binary files?  1
What are advantages and disadvantages of Design patterns? IBM3
Explain "passing by value", "passing by pointer" and "passing by reference" ?  5
What are the differences between a struct in C and in C++? Wipro4
What are inline functions? Verizon2
1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?  2
Difference between shift left and shift right? Symphony1
What is a constructor initializer list and when we use constructor initializer list? TCS2
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring Quark1
wrong statement about c++ a)code removably b)encapsulation of data and code c)program easy maintenance d)program runs faster  8
What is a "RTTI"? HCL5
What is Pure Virtual Function? Why and when it is used ? Lucent4
what is meaning of isa and hsa  1
What compiler was used? Intel3
class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list Quark1
tell me about yourself ?i want answer for frehers with various exasmples? HCL2
Which of the Standard C++ casts can be used to perform a ?safe? downcast: a) reinterpret_cast b) dynamic_cast c) static_cast d) const_cast Quark1
 
For more C++ General Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com