Tap a cell, then a height. Each row and column needs 1 to n once. A clue is how many towers you can see from that edge.
A building is visible only if it is strictly taller than every building in front of it. Keys 1 to n fill the selected cell; a second tap on the same cell cycles. Right-click or long-press adds a note. 0 or Backspace clears.