linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Muthukumar" <ramana_muthu@yahoo.co.in>
To: Jad Saklawi <Jad@Saklawi.info>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: circular linked list
Date: Mon, 29 Mar 2004 11:54:16 +0530	[thread overview]
Message-ID: <00b001c41556$7a20fed0$2e0110ac@mukco> (raw)
In-Reply-To: 4065E03F.9010306@Saklawi.info




> >        what is the key concept of circular linked list.
> >
> >        My known method is we can do using head value of 1 (first data)
> >        1 - > 2 -> 3 -> 4 ->1  (4 is the last data at this chain)
> >        Is it correct to do the circular linked list.
> >        how we have to delete some value in the list.
> >        If i want to delete 3 means what steps we have to do.
> >
> >        Is there a way to simulate the list with out having the assignment
> >of head.
> >
> >
>   Yes, this is done by passing a pointer to the start pointer. An
> implementation can be found here :
> http://annex.sagehall.com/~abukhzam/cp2/CPII.html
>
Hai Jad.

Thanks for the guideline.

Is there a way to implement a circular linked list without the HEAD assignment.
First of all ,is it possible ,If else what is the problem with that.

Regards,
Muthukumar.



  reply	other threads:[~2004-03-29  6:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-27 14:42 circular linked list MuthuKumar
2004-03-27 20:12 ` Jad Saklawi
2004-03-29  6:24   ` Muthukumar [this message]
2004-03-29 12:11     ` John T. Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='00b001c41556$7a20fed0$2e0110ac@mukco' \
    --to=ramana_muthu@yahoo.co.in \
    --cc=Jad@Saklawi.info \
    --cc=linux-c-programming@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).