倪春恩的博客
lc-416 lc-416
/** Given a non-empty array nums containing only positive integers, find if the array can be partitioned into two subse
2022-10-24
lc-301 lc-301
/** Given a string s that contains parentheses and letters, remove the minimum number of invalid parentheses to make th
2022-10-08
lc-283 lc-283
/** Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero ele
2022-10-07
lc-297 lc-297
/** * Serialization is the process of converting a data structure or object into a * sequence of bits so that it can b
2022-10-06
lc-287 lc-287
/** Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive. T
2022-09-29
lc-279 lc-279
/** Given an integer n, return the least number of perfect square numbers that sum to n. A perfect square is an inte
2022-09-28
lc-240 lc-240
/** * Write an efficient algorithm that searches for a value target in an m x n * integer matrix matrix. This matrix h
2022-09-27
lc-239 lc-239
import java.util.Comparator; import java.util.PriorityQueue; /** You are given an array of integers nums, there is a sl
2022-09-26
lc-238 lc-238
/** Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements
2022-09-25
lc-236 lc-236
/** Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree. According to the defi
2022-09-23
43 / 50