View Single Post
Old March 28th, 2003, 08:00 PM   Digg it!   #1 (permalink)
highrock
Member
 
highrock's Avatar
 
Join Date: Aug 2002
Location: US
Posts: 138
Unhappy
Creating a Circular Linked List

Need help on how to create a Circular linked List.
Searched and Searched, Found nothing useful.
Especially one that can insert or possibly delete elements from it.

It is used for the Josephus problem when every kth person is kill until one is left standing. I could solve it but don't know how to create the circular linked list. Needs to be done in C++

I know basic c++. We are using Microsoft Visual C++ 6.
highrock is offline   Reply With Quote
Search TechIMO for Answers: