Program for circular linked list

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • manpreet25
    New Member
    • May 2010
    • 1

    #1

    Program for circular linked list

    I doing a program with circular linked list but its not working.In the program there are 6 suitors and there are elimination process proceeds as follows:

    123456 Its inital list start counting from 1
    12456 then suitor 3 eliminated and continue counting from 4
    1245 then 6 eliminated and countinue counting from 1
    125 then 4 is deleted and countinue counting from 5
    15 then 2 is deleted and countinue counting from 5
    1 then 5 is eliminated and 1 is winner.

    This program gives errors and i am confused.Please help me with this program
    Last edited by manpreet25; May 12 '10, 02:55 AM. Reason: spelling mistakes
  • Dheeraj Joshi
    Recognized Expert Top Contributor
    • Jul 2009
    • 1129

    #2
    Have you written any code for this?

    Regards
    Dheeraj Joshi

    Comment

    • jkmyoung
      Recognized Expert Top Contributor
      • Mar 2006
      • 2057

      #3
      Please post your code in [ code ] [ / code] tags, (use the # button), and write down the error here.
      We don't have magical powers to see what's on your computer.

      Comment

      Working...