i have considered it  (n/2+1)th
and didn't bothered much :P

On Mon, Jul 11, 2011 at 4:57 PM, Anika Jain <anika.jai...@gmail.com> wrote:

> *if i have to write a code for finding middle element in a linked list..
> then for even length linked which will be the middle element both n/2-1 and
> n/2+1 or just n/2+1???
>
> if its both then how can i make my function two elements??
> *
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
  best wishes!!
Vaibhav Shukla
    DU-MCA

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to