well there is no other way.....but to keep some storage

On Wed, Aug 24, 2011 at 9:44 AM, Ankur Goel <[email protected]> wrote:

> Hmmm this is one way any other ?
>
>
> On Wed, Aug 24, 2011 at 9:42 AM, Dheeraj Sharma <
> [email protected]> wrote:
>
>> u can keep a count..which is incremented when the nodes are inserted and
>> decremented when the nodes are deleted
>>
>>
>> On Wed, Aug 24, 2011 at 9:31 AM, Ankur Goel <[email protected]>wrote:
>>
>>> How to Count the number of nodes in a linked list without traversing
>>> the list?.
>>>
>>> --
>>> 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.
>>>
>>>
>>
>>
>> --
>> *Dheeraj Sharma*
>> Comp Engg.
>> NIT Kurukshetra
>> +91 8950264227
>>
>>
>>  --
>> 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.
>>
>
>  --
> 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.
>



-- 
*Shashi Kant *
***"Think positive and find fuel in failure"*
*+919002943948
*
*R&D engineer ,
Tejas Networks Ltd Banglore.
*

-- 
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