Adobe Interview Question

Core Java puzzle, testing, Image processing