phone and onsite
The programming question was flipping image binary data so that the left-most pixel and the right-most pixel are swapped, and keep swapping the bytes from the outermost pixels to the innermost pixels. So it becomes a mirror-image. The mirror image data is given in a single byte array with additional parameters: width and height. The image is represented in integers, with groups of three to represent the red, green, and blue (rgb) values of a pixel.