Explain how to find 3rd element from end in a linked list in one pass?
No Answer is Posted For this Question
Be the First to Post Answer
an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
What is fibonacci search?
Which language is best for learning data structures and algorithms?
In which data structure, elements can be added or removed at either end, but not in the middle?
42 Answers Infosys, NIC, TTA, Wipro,
What is a threaded binary tree? Explain its operation with example?
Is array part of collection framework?
What is the difference between Array and Arraylist?
List out the basic operations that can be performed on a stack?
What do you mean by shortest path?
Define threaded binary tree.
Which algorithm is used in arrays sort?
If you do not initialize an array what will happen?