Hot cup with JAVA Technologies!!
Java, Struts, Spring, Hibernate, Unix,IT, Software, Jobs, Interview, Aptitude, Learning, Algorithms
Sunday, October 31, 2010
Find circular linked list
Start with two pointers. Increase one ptr by 1 and second ptr by 2. If they meet then list is circular.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment