not sure why the answer is so complicated, i couldn't understand all the cross swap logic. the solution is simple. split 12 to 3 group, each group has 4, scale any two then u will know the which group has the abnormal ball. then left 4, scale 2 balls each time。 |