Spiral Matrix (LeetCode 54)
The problem You get an matrix. Return all its elements in clockwise spiral…
Tag
5 posts
The problem You get an matrix. Return all its elements in clockwise spiral…
The problem You get two non-negative integers as strings, and . Return their…
The problem You get a list of stone weights. Each turn, take the two heaviest…
The problem You get an board of cells, each 1 (live) or 0 (dead). Every cell…
The problem You get an array of non-zero integers, each an asteroid in a row…