I had google phone screen recently
Question they asked was:-
2nd question had class with following methods:
I could do it via 2D array as row and column were given, interviewer suggested as there are only 2 colors store them as T/F to save space, also he recommended to use BitMap (or I might be missing but something in java to store image pixels into bits)
I have followup screening now