You have 10 balls with you. A friend of yours out of nowhere asks you to place those ten balls in five lines such that each of the lines has exactly 4 balls on them. He needs to check your intelligence. Prove him by doing the task.
In a box, there is a jumble of 7 red balls, 6 blue balls, 5 green balls, and 4 yellow balls. What is the minimum number of balls, will you have to pick up so that you have at least 4 balls of the same colour?
See the given image carefully. What you have to do is move the blue checkers in the position of the black checkers and vice versa. You are only allowed to move the checker to an adjacent empty space. Do it in the least possible moves.