摘要:problem 985. Sum of Even Numbers After Queries 参考 1. Leetcode_easy_985. Sum of Even Numbers After Queries; 完
阅读全文
摘要:problem 977. Squares of a Sorted Array solution: 参考1. Leetcode_easy_977. Squares of a Sorted Array; 完
阅读全文
摘要:problem 976. Largest Perimeter Triangle solution: 参考 1. Leetcode_easy_976. Largest Perimeter Triangle; 完
阅读全文
摘要:problem 970. Powerful Integers solution: 参考 1. Leetcode_easy_970. Powerful Integers; 完
阅读全文
摘要:problem 965. Univalued Binary Tree 参考 1. Leetcode_easy_965. Univalued Binary Tree; 完
阅读全文
摘要:problem 1137. N-th Tribonacci Number solution: 参考 1. Leetcode_easy_1137. N-th Tribonacci Number; 完
阅读全文
摘要:problem 961. N-Repeated Element in Size 2N Array solution: 参考 1. Leetcode_easy_961. N-Repeated Element in Size 2N Array; 完
阅读全文
摘要:problem 953. Verifying an Alien Dictionary solution: 参考 1. Leetcode_easy_953. Verifying an Alien Dictionary; 2. dicuss; 完
阅读全文
摘要:problem 949. Largest Time for Given Digits solution: 参考 1. Leetcode_easy_949. Largest Time for Given Digits; 2. discuss; 3. cplusplus_prev_permutation
阅读全文
摘要:problem 944. Delete Columns to Make Sorted 题意:其实题意很简单,但是题目的description给整糊涂啦。。。直接看题目标题即可理解。 solution: 参考 1. Leetcode_easy_944. Delete Columns to Make S
阅读全文
摘要:problem 942. DI String Match 参考 1. Leetcode_easy_942. DI String Match; 完
阅读全文
摘要:problem 938. Range Sum of BST 参考 1. Leetcode_easy_938. Range Sum of BST; 完
阅读全文
摘要:problem 941. Valid Mountain Array solution: solution2: 参考 1. Leetcode_easy_941. Valid Mountain Array; 2. discuss_climb_mountain; 完
阅读全文
摘要:problem 937. Reorder Log Files solution: 参考 1. Leetcode_easy_937. Reorder Log Files; 2. discuss1_conpare; 3. discuss2_sort; 4. discuss3_moveback; 完
阅读全文
摘要:problem 933. Number of Recent Calls 参考 1. Leetcode_easy_933. Number of Recent Calls; 完
阅读全文
摘要:problem 929. Unique Email Addresses solution: 参考 1. Leetcode_easy_929. Unique Email Addresses; 完
阅读全文
摘要:problem 876. Middle of the Linked List 参考 1. Leetcode_easy_876. Middle of the Linked List; 完
阅读全文
摘要:problem 883. Projection Area of 3D Shapes 参考 1. Leetcode_easy_883. Projection Area of 3D Shapes; 完
阅读全文
摘要:problem 884. Uncommon Words from Two Sentences 题意:只要在两个句子中单词出现总次数大于1次即可。 注意掌握istringstream/map/set的使用方法。 solution: 参考 1. Leetcode_easy_884. Uncommon W
阅读全文
摘要:problem 892. Surface Area of 3D Shapes 题意:感觉不清楚立方体是如何堆积的,所以也不清楚立方体之间是如何combine的。。 Essentially, compute the surface area of each grid but substract the
阅读全文