Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#48 McNuggetNumbers #35

Open
Shih-Yi opened this issue Jan 15, 2017 · 0 comments
Open

#48 McNuggetNumbers #35

Shih-Yi opened this issue Jan 15, 2017 · 0 comments
Assignees

Comments

@Shih-Yi
Copy link
Collaborator

Shih-Yi commented Jan 15, 2017

McNuggetNumbers
A McNugget number is a positive integer that can be obtained by adding together orders of McDonald’s Chicken McNuggets, which come in boxes of 4, 6, 9, and 20 pieces.
(a) FindallthepositiveintegersthatarenotMcNuggetnumbers.
(b) Designanalgorithmtocomputethenumberofboxesofeachorder
size for any given McNugget number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants