R
ravi
Can any body help in finding the middle element of a link list in an
effective manner
i know the simple solution of using two pointers and increment one
pointer by one and second by two.
but i want a effective algo both in terms of memory and time
effective manner
i know the simple solution of using two pointers and increment one
pointer by one and second by two.
but i want a effective algo both in terms of memory and time