Nine people canít make a baby in a month. (regarding the addition of more programmers to get a project completed faster Fred Brooks

Find middle element

Language Java | Level Intermediate | Category Data structure | September 4, 2015 8:32 pm

Data structure Description

Write a program to find middle element of singly linked list using single iteration. Linked list do not use an index and uses the only reference to next item.



Linked List items: head->11->78->45->34->57->NULL
Length of Linked List: 5
Middle element of Linked List: 45



No comments available!

Please login to add comments.