Problem 1424 · Medium

Diagonal Traverse II

Read a ragged grid along its anti-diagonals, from top-right to bottom-left. The visual colours each diagonal and shows the output sequence building up.

Open the interactive visualisation