← Questions

Render, compress and invert a bitmap font

0
StripeCodingLast asked Feb 2026

A bitmap font is given as strings of 0 and 1 bits, one bitmap per character.

  1. Render each character as a grid of text, with . for a 0 bit and another character for a 1 bit.
  2. Compress the bitmaps.
  3. Invert them.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding