• 12 November

    Add two numbers represented by Linked List in java

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. Java Linked List Interview Programs: How to reverse a linked list in java How to reverse a linked list in pairs in java How to find middle element of linked list in java How to detect […]

  • 07 July

    Reverse a linked list in java

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. In this post, we will see how to reverse a linked list in java. This is one of popular interview question. Java Linked List Interview Programs: How to reverse a linked list in pairs How to […]

  • 06 July

    Find nth element from end of linked list

    This is one of popular interview question. Java Linked List Interview Programs: How to reverse a linked list in java How to reverse a linked list in pairs How to find middle element of linked list in java How to detect a loop in linked list in java Find start node of loop in linkedlist […]

  • 06 July

    Find middle element of a linked list in java

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. This is one of the popular interview question. In this post, we will discuss how to find middle element in linkedlist in most efficient way. Java Linked List Interview Programs: How to reverse a linked list […]

  • 05 July

    How to detect loop in a linked list in java with example

    If you want to practice data structure and algorithm programs, you can go through data structure and algorithm interview questions. One of the most popular interview question nowadays is “How to detect loop/cycle in LinkedList”. So I thought I should cover this question. This question is more related to data structure. You can also find start […]