Convert bitmap into ASCII characters
StripeSoftware Engineer · OnsiteLast updated
This question evaluates skills in binary-to-text data representation, bitmap rendering, and efficient string and array manipulation for output formatting.
Question
Given an array/string of 0-1 bits representing a bitmap font, write code to render each character as a grid using '.' for 0 and '#' for 1, and concatenate multiple characters to print whole words efficiently.
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.