倪春恩的博客
10
31
lc-560 lc-560
/** Given an array of integers nums and an integer k, return the total number of subarrays whose sum equals to k. A
2022-10-31
28
lc-543 lc-543
/** Given the root of a binary tree, return the length of the diameter of the tree. The diameter of a binary tree is
2022-10-28
27
lc-538 lc-538
/** Given the root of a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST
2022-10-27
26
lc-448 lc-448
/** Given an array nums of n integers where nums[i] is in the range [1, n], return an array of all the integers in the
2022-10-26
24
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
08
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
07
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
06
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