倪春恩的博客
07
22
lc-55 lc-55
//You are given an integer array nums. You are initially positioned at the array //'s first index, and each element in t
2022-07-22
21
lc-54 lc-54
//Given an m x n matrix, return all elements of the matrix in spiral order. // // // Example 1: // // //Input: matrix =
2022-07-21
20
lc-53 lc-53
//Given an integer array nums, find the contiguous subarray (containing at least // one number) which has the largest su
2022-07-20
19
lc-50 lc-50
//Implement pow(x, n), which calculates x raised to the power n (i.e., xn). // // // Example 1: // // //Input: x = 2
2022-07-19
18
lc-49 lc-49
//Given an array of strings strs, group the anagrams together. You can return th //e answer in any order. // // An Anag
2022-07-18
13
lc-48 lc-48
//You are given an n x n 2D matrix representing an image, rotate the image by 90 // degrees (clockwise). // // You have
2022-07-13
12
lc-46 lc-46
//Given an array nums of distinct integers, return all the possible permutations //. You can return the answer in any or
2022-07-12
11
lc-44 lc-44
//Given an input string (s) and a pattern (p), implement wildcard pattern matchi //ng with support for '?' and '*' where
2022-07-11
08
lc-42 lc-42
//Given n non-negative integers representing an elevation map where the width of // each bar is 1, compute how much wate
2022-07-08
06
lc-41 lc-41
//Given an unsorted integer array nums, return the smallest missing positive int //eger. // // You must implement an al
2022-07-06
05
lc-38 lc-38
//The count-and-say sequence is a sequence of digit strings defined by the recur //sive formula: // // // countAndSay(
2022-07-05
04
lc-36 lc-36
//Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be v //alidated according to the following r
2022-07-04
40 / 41