Solving problems by asking questions