Linked List Interview Questions

No. 10 - K-th Node from End
Get the Kth node from end of a linked list. It counts from 1 here, so the 1st node from end is the tail of list.

No. 18 - Reverse a Linked List
Implement a function to reverse a linked list, and return the head of the reversed list.

No. 29 - Loop in List
How to check whether there is a loop in a linked list? If there is a loop in a linked list, how to get the entry node of the loop?

No. 40 - Add on Lists
Nodes in a list represent a number. Please implement a function/method to add numbers in two lists, and store the sum into a new list.

14 comments:

  1. No 29: You can use concept of slow and fast pointers. if in any case fast pointers coincides with slow pointer before slow pointer reaches the end...List has a loop

    ReplyDelete
  2. You have shared good collection of linked list interview questions, thanks, keep sharing :)

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Nice List, Can you please write on Complete Java Interview Question With Answers?
    http://knowledgetpoint.com/java/

    ReplyDelete
  6. Hi,
    I read your article, you’re describing of expression is excellent and the most valuable thing is, your attracting topic declaration. I really enjoyed and great effort.
    Thanks for sharing!

    ReplyDelete
  7. I'm a long-serving digital marketing professional and full-service as a social media marketing manager. I'm offering services at a competitively low cost. I have experience in keyword research, Article writing or Rewriting, Guest posting, B2B Lead Generation , Data Entry ,link building, web 2.0 backlink ,
    . I have 5 years of experience in the field and are assured of delivering High Quality and manual work. I have my own site name as AbidhTech. My Blog site also here. This is a Bangla deshi Science club site .

    ReplyDelete
  8. Thank you sharing this Information
    I also found Various useful links related to Devops, Docker & Kubernetes. Satta king 786

    ReplyDelete
  9. This webpage is excellent; I Blue Beetle Movie Download am extremely amazed.

    ReplyDelete