So let's analyze the example given. Starting from a blank state of all 0
s, if we are given the operations [1, 1]
and then [2, 2]
, we obtain:
xxxxxxxxxx
[[2, 1, 0, 0],
[1, 1, 0, 0],
[0, 0, 0, 0]]
OUTPUT
:001 > Cmd/Ctrl-Enter to run, Cmd/Ctrl-/ to comment