|
||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
ABSTRACT
You may have used the Josephus Problem as a programming assignment in one of your courses. I have been using this problem for many years in CS1 or CS2, primarily to illustrate applications of various data structures and algorithmic problem solving. The resulting "brute force" solution works, but is not elegant. Accordingly, I challenge students to analyze the problem more mathematically and use mathematical thinking to seek a more precise solution. Few students are successful. However, computer science students should develop the skills necessary to find both solutions, algorithmic and mathematical model. The latter provides an efficient solution that can be used to validate the algorithmic solution -- very important for critical systems components. REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
INDEX TERMS
Primary Classification:
Additional Classification:
|
||||||||||||||||||||||||||||||||||||||||