A boy and a girl are sitting on the porch.
"I'm a boy," says the child with black hair.
"I'm a girl," says the child with red hair.
If at least one of them is lying, who is which?
Suppose you are a girl candidate and sitting in an interview. Suddenly the interviewer asks you, 'What if one morning you wake up and find out that you are pregnant?
You are given 2 eggs.
You have access to a 100-storey building.
Eggs can be very hard or very fragile means it may break if dropped from the first floor or may not even break if dropped from 100th floor, Both eggs are identical.
You need to figure out the highest floor of a 100-storey building an egg can be dropped without breaking.
Now the question is how many drops you need to make. You are allowed to break 2 eggs in the process
Artificial Intelligence has crushed all human records in the puzzle game “2048,” achieving a high score of 839,732 and beating the game in only 973 moves without using any undo.