Skip to content

C++ code to implement a global function of Josephus circle problem

Notifications You must be signed in to change notification settings

abdullahsattaar/Josephus-Circle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Josephus-circle

C++ code to implement a global function of Josephus circle problem

a global function to implement Josephus circle problem as discussed in class. This function takes two integer parameters named Length of circle (l) and Count to choose next (k) and returns the Last person left standing or Josephus Position using a circular linked list.
int JosephusPosition(int l,int k)

About

C++ code to implement a global function of Josephus circle problem

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages