Re:Typical programming interview questions.
by thangalin on Monday February 21, 2011 @02:37AM
(#2244664)
An absurd question that reveals little about a person's programming ability. I would change the question entirely:
On a Cartesian grid is drawn a solid logo (e.g., show a picture of the Batman logo from the 1989 film), where each square represents a black or white pixel. How would you represent the image if you had to type the data points by hand for the computer to draw?
On a Cartesian grid is drawn a solid logo (e.g., show a picture of the Batman logo from the 1989 film), where each square represents a black or white pixel. How would you represent the image if you had to type the data points by hand for the computer to draw?
Both questions elude to run-length encoding.