Bending Spoons interview question

Logic problems and bitwise algorithms