How do you find length of a Singly Linked list in Java

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

How do you find length of a Singly Linked list in Java

Here is one of the classical questions asked to me on an interview with multinational Investment bank after that this question asked to me on several
http://javarevisited.blogspot.com/2010/10/how-do-you-find-length-of-singly-linked.html
  • Total Hits: 12308

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 141 votes

  • Category: JAVA/Core JAVA

  • Submitted on: 2011-08-20 02:34:41

  • Submitted By: Javin Paul

  • Set as Favorite

Description:

Here is one of the classical questions asked to me on an interview with multinational Investment bank after that this question asked to me on several times in other interviews also . what makes this question interesting is that java developers are not that great with datastructure relative to C++ developer which is obvious because of fundamental difference between this two language.C++ is more of system programming language while java is more on application programming , also rich set of java API allows programmer to skip this kind of basic programming techniques.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 38.3%  54
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.93%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.35%  16
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.64%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 29.79%  42

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements