# Find the middle element of a singly linked list

Difficulty 7

Helpful 5

Save 0

View 692

Related Questions

- How would you print last n elements of a linked list, n being small compared to size of linked list
- How to find the medium number of a given array
- How would you sort a text file full of phone numbers. You do not have enough memory to load all the file contents at once and sort them. You should write back the sorted list to the file in the end
- Given an input of stream of words find the most recurring word. what is the data structure used for this purpose. what will be the time complexity of that.
- Find the middle element of a singly linked list
- If I arrange the numbers 1 to 100 in a random order and remove one number from this group - give me an algorithm to find the missing number
- Write a function to cause stackoverflow
- Describe how to implement a queue out of stacks. (no coding, just thought process)
- Write a function to find out whether a linked list is cyclic
- given an array, all the elements in the array appear twince, only one element appears only once. Find that element. Eg, the array is 2 4 2 3 4 1 3 6 6, 1 should be the answer