Bending Spoons Interview Question

Some logic and statistics questions, can't share.