you have an unlimited supply of $3 and $7 poker chips. What
is the largest integer value that you cannot make by
combining different numbers of chips?
Answer Posted / siberian
If you can make N with 3 and 7, then you can make all N+12,
N+13, N+14, ..., etc. The numbers that can't be made with 3
and 7 are 1, 2, 4, 5, 8, 11. Thus the max number that can't
be created is 11.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How many forms can you create in a Visual Basic 6 Standard EXE project? Is there any limit on that?
What is the entry point function of a DLL?
iam confused among testing ,.net and java. can anybody help me.
what is the certificates in biztalk?
Do not use more than 3 nested IF. Use Evaluate statement in case of more IF required. Please give a detail explantion besides readability and clarity for Evaluate stmt.
why we need to take u?
how many types of operating system are avaliable?
In loading programs into memory, what is the difference between load-time dynamic linking and run-time dynamic linking?
You are given some denominations of coins in an array (int denom[])and infinite supply of all of them. Given an amount (int amount), find the minimum number of coins required to get the exact amount. What is the method called?
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box. eg: 3 box contain stick as:1,1,1. if u take 1 stick from 3rd numbred box you will any how win the match.
Which language they use during interview?
what is delegate and delegation model give the real live example on delegate model
Display names and numbers of employees who have 5 years or more experience and salary less than Rs.15000 using array of structures (name, number, experience and salary)
how to convert the data from HTML file to SAS dataset?
How will you prove that java swing is multithreaded?