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?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / orenise
Assume that the max integer value is (2^31 - 1)=2,147,483,647
then the answer is 2,147,483,646 since it is impossible to
have an even number created just from 3 and 7.
| Is This Answer Correct ? | 2 Yes | 7 No |
Write a function which accepts a sentence as input parameter.Each word in that sentence is to be reversed. Space should be there between each words.Return the sentence with reversed words to main function and produce the required output. for eg:- i/p: jack jill jung kill o/p: kcaj llij gnuj llik
how we can know the funcions available in a class recording java?
HTML is a subset of
what is encapulation?
can we convert .class file to dll file
what is difference between kpo and it industry? that is in terms of work, package etc
Java is called as pure objerct oriented programming language, where as c++ is not completely object oriented.can any explain the detailed differenec between these two
what is the difference between primary key and unique key?
What is meant by STACK?
What is SOLID Principle in Programming Language?
An image map is a collection of
I want sample papers for NIC Examination. Plz send them to my mail Id das.neelam@gmail.com . Plz send it today, tomorrow i've the exam.