Some problem solving programming challenges, i have solved. Not all are here, but started adding them slowly.
This project is maintained by chankruze
Your pet Iguana has run away, and you found it up in a tree! It will come down right away if you brought the right snacks, but if you don’t have enough, you will have to wait. You need 10 total snack points to bring it down. Lettuce is worth 5, Carrot is worth 4, Mango is worth 9, and Cheeseburger is worth 0.
Evaluate whether or not you have enough snack points to convince your iguana to come down.
Your input is a string that represents the snacks that you have. Snacks are separated by spaces, you can have any number of snacks, and they can repeat.
A string that says Come on Down! if you have enough points, or Time to wait if you do not.
Mango Cheeseburger Carrot
Come on Down!
You have 13 snack points with a mango, cheeseburger, and carrot, which is enough to convince the iguana to come down.
Language | Solution |
---|---|
C | not available |
CPP | not available |
C# | not available |
Python | available |
Java | not available |
Ruby | not available |
Swift | not available |