348. Design Tic-Tac-Toe
282. Expression Add Operators
278. First Bad Version
1216. Valid Palindrome III
1091. Shortest Path in Binary Matrix
1091. Shortest Path in Binary Matrix
Description
Given an n x n
binary matrix grid
, return the length of the shortest clear path in the matrix. If there is no clear path, return -1
.
118. Pascal's Triangle
118. Pascal’s Triangle
Description
Given an integer numRows
, return the first numRows of Pascal’s triangle.
75. Sort Colors
Description
Given an array nums
with n
objects colored red, white, or blue, sort them in-place so that objects of the same color are adjacent, with the colors in the order red, white, and blue.