Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.


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

Post New Answer

More Core Java Interview Questions

1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads?

2 Answers   RBS,


What do you understand by soft reference?

0 Answers  


What is a class component?

0 Answers  


Default layout of Dialog object?

1 Answers  


what value will be return by the read() method once it reaches the end-of-file? a. Throws EOException b. Return null c. Return -1 d. Read method return nothing, because it is void method

1 Answers  






Why are getters and setters used?

0 Answers  


What is javac used for?

0 Answers  


What is meant by event handling in SAX parser?

1 Answers   Ness Technologies,


Which method will get invoked first in a stand alone application?

1 Answers  


What is byte code and why is it important to java’s use for internet programming?

0 Answers  


Write a factorial program using recursion in java?

0 Answers  


How do you remove an object from an arraylist in java?

0 Answers  


Categories