Sort Colors (LeetCode 75)
The problem You get an array containing only , and (red, white and blue…
Tag
6 posts
The problem You get an array containing only , and (red, white and blue…
The problem You get an matrix of integers. Wherever a cell is 0, set its entire…
The problem You get a square matrix. Rotate it 90° clockwise in place: you must…
The problem You get an integer array sorted in non-decreasing order. Rearrange…
The problem You get an integer array . Move all the s to the end in place, while…
The problem You get an board of cells, each 1 (live) or 0 (dead). Every cell…