Katkat

Convert bitmap into ASCII characters

StripeSoftware Engineer · Onsite

Last 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.