How the program works
When we run out of
room in a row:
pop the stack,
reduce filled by 1
and continue working on the previous row.
ROW 1, COL 1
1
filled
ROW 2, COL 3
Previous slide
Next slide
Back to first slide
View graphic version