@black diamond
i think u may b wrong.
check out this 1->2->3->4->5->6->7->8->9->3->. . . . . .

On Sat, Mar 27, 2010 at 11:04 AM, blackDiamond <[email protected]>wrote:

> take Two pointers increase one by 1 and other by two node if they match
> somewhere Firstone will become the middle..
>
>  On Sat, Mar 27, 2010 at 11:01 AM, Rohit Saraf <
> [email protected]> wrote:
>
>>  how do u define middle when there is a cycle in the list ?
>>
>> -Rohit
>>
>>
>>  On Sat, Mar 27, 2010 at 12:11 AM, Sanjana <[email protected]>wrote:
>>
>>> Hello,
>>> Can someone help me out with this. How to find the middle of a singly
>>> linked list which also has  a cycle in it.
>>>
>>> --
>>>
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<algogeeks%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<algogeeks%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>
>
> --
> ~~~~BL/\CK_D!AMOND~~~~~~~~
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<algogeeks%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>



-- 
Vikrant Singh

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

Reply via email to