write asingle linked list which read from two list & the do
the following

1 sort the prime & nonprime num (prime should be less tn
nonprime)

2 each node has a prime num followd by nonprime

3 add a new node into its sutable plce

4 erase the most three duplicated non prime num

5 find the least duplicated prime num


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Can I learn c++ without learning c?

0 Answers  


What is #include ctype h in c++?

0 Answers  


How do you show the declaration of a virtual constructor?

0 Answers  


class X { private: int a; protected: X(){cout<<"X constructor was called"<<endl;} ~X(){cout<<"X destructor was called"<<endl} }; Referring to the code above, which one of the following statements regarding "X" is TRUE? a) X is an abstract class. b) Only subclasses of X may create X objects. c) Instances of X cannot be created. d) X objects can only be created using the default copy constructor. e) Only friends can create instances of X objects.

2 Answers   Quark,


Where do I find the current c or c++ standard documents?

0 Answers  






What is c++ prototype?

0 Answers  


If you had the following code: int x = 23; int *y; y = &x; The instruction y++; does what?

2 Answers  


In a function declaration, what does extern mean?

0 Answers  


difference between the c++ and c languages

4 Answers   Wipro,


What are the uses of pointers?

0 Answers  


Will the inline function be compiled as the inline function always? Justify.

1 Answers  


Explain the concept of memory leak?

0 Answers  


Categories