Write a driver program to test the circular-linked-list version of a deuce class template in
Exercise 5
Write a class template for defuse that uses a circular linked list with a single pointer to the last node to store the deuce's elements. You should also test your class template as instructed in Programming Problem 3 at the end of this chapter.
Problem 3
Write a program to solve the Josephus problem described in Exercise 9. Use output statements to trace the selection process, showing the contents of the list at each stage.
Exercise 9,
Write a program to solve the Josephus problem described in Exercise 9. Use output statements to trace the selection process, showing the contents of the list at each stage.