摘要:
https://leetcode.com/problems/ransom-note/#/description 阅读全文
摘要:
https://leetcode.com/problems/minimum-moves-to-equal-array-elements/#/description 阅读全文
摘要:
public class Solution { public int FindContentChildren(int[] g, int[] s) { var listg = g.OrderBy(x => x).ToList(); var lists = s.OrderBy(x => x).ToLis 阅读全文
摘要:
public class Solution { public int[] TwoSum(int[] numbers, int target) { Dictionary<int, int> dic = new Dictionary<int, int>(); int count = numbers.Co 阅读全文
摘要:
https://leetcode.com/problems/relative-ranks/#/description 阅读全文
摘要:
https://leetcode.com/problems/minimum-absolute-difference-in-bst/#/description 阅读全文
摘要:
public class Solution { public void MoveZeroes(int[] nums) { int index = 0; for (int i = 0; i < nums.Length; i++) { //[0, 1, 0, 3, 12] //[1, 3, 12, 0, 阅读全文
摘要:
https://leetcode.com/problems/longest-uncommon-subsequence-i/#/description 阅读全文
摘要:
https://leetcode.com/problems/construct-the-rectangle/#/description 阅读全文
摘要:
https://leetcode.com/problems/add-digits/#/description 阅读全文