Problem #PRU-31362

Problems Set theory and logic Theory of algotithms Theory of algorithms (other)

Problem

Some person A thought of a number from 1 to 15. Some person B asks some questions to which you can answer ‘yes’ or ‘no’. Can B guess the number by asking a) 4 questions; b) 3 questions.