Good for whiteboarding

RLE Iterator

  • The official solution is cleaner than mine