When he met tor and talks marriage with his daughter by answer questions because his cleverness, he can answer all questions, but the trick with using tor to ask questions until the morning.
Tor when he met and married the daughter talks by answering questions. Because of his intelligence, he can answer them all. But tor circumvention by asking questions until morning.
When he found tor and negotiate the marriage with the daughter by answering questions. Because of his intelligence, he can answer the question. But tor tricked by asking questions until morning.