Memory is not a constraint. In a single iteration(NOTE: you
can't go back), how will you find out the 10th last
node/item in a linked list.

Answer Posted / dg

ahutosh ,the kid is right pos% 10 will do fine,,are u
nuts,work on basic maths

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is constructor in C++?

618


How do you print a string on the printer?

569


What is auto used for in c++?

558


Name the debugging methods that are used to solve problems?

572


Define Virtual function in C++.

616






What is struct c++?

559


What is the use of pointer in c++ with example?

553


What are the types of container classes?

606


What is a local variable?

565


Is c++ harder than java?

556


Define a pdb file.

631


On throwing an exception by the animal constructor in p = new animalq, can memory leak occur?

666


What is the latest c++ version?

600


What is singleton class in c++?

582


Mention the storage classes in c++.

634