随笔分类 -  leetcode

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页

【Leetcode_easy】985. Sum of Even Numbers After Queries
摘要:problem 985. Sum of Even Numbers After Queries 参考 1. Leetcode_easy_985. Sum of Even Numbers After Queries; 完 阅读全文

posted @ 2019-08-07 18:11 鹅要长大 阅读(125) 评论(0) 推荐(0)

【Leetcode_easy】977. Squares of a Sorted Array
摘要:problem 977. Squares of a Sorted Array solution: 参考1. Leetcode_easy_977. Squares of a Sorted Array; 完 阅读全文

posted @ 2019-08-07 18:10 鹅要长大 阅读(139) 评论(0) 推荐(0)

【Leetcode_easy】976. Largest Perimeter Triangle
摘要:problem 976. Largest Perimeter Triangle solution: 参考 1. Leetcode_easy_976. Largest Perimeter Triangle; 完 阅读全文

posted @ 2019-08-07 18:08 鹅要长大 阅读(139) 评论(0) 推荐(0)

【Leetcode_easy】970. Powerful Integers
摘要:problem 970. Powerful Integers solution: 参考 1. Leetcode_easy_970. Powerful Integers; 完 阅读全文

posted @ 2019-08-07 18:07 鹅要长大 阅读(148) 评论(0) 推荐(0)

【Leetcode_easy】965. Univalued Binary Tree
摘要:problem 965. Univalued Binary Tree 参考 1. Leetcode_easy_965. Univalued Binary Tree; 完 阅读全文

posted @ 2019-08-07 18:05 鹅要长大 阅读(134) 评论(0) 推荐(0)

【Leetcode_easy】1137. N-th Tribonacci Number
摘要:problem 1137. N-th Tribonacci Number solution: 参考 1. Leetcode_easy_1137. N-th Tribonacci Number; 完 阅读全文

posted @ 2019-07-30 19:49 鹅要长大 阅读(130) 评论(0) 推荐(0)

【Leetcode_easy】961. N-Repeated Element in Size 2N Array
摘要:problem 961. N-Repeated Element in Size 2N Array solution: 参考 1. Leetcode_easy_961. N-Repeated Element in Size 2N Array; 完 阅读全文

posted @ 2019-07-26 19:50 鹅要长大 阅读(168) 评论(0) 推荐(0)

【Leetcode_easy】953. Verifying an Alien Dictionary
摘要:problem 953. Verifying an Alien Dictionary solution: 参考 1. Leetcode_easy_953. Verifying an Alien Dictionary; 2. dicuss; 完 阅读全文

posted @ 2019-07-26 19:49 鹅要长大 阅读(184) 评论(0) 推荐(0)

【Leetcode_easy】949. Largest Time for Given Digits
摘要:problem 949. Largest Time for Given Digits solution: 参考 1. Leetcode_easy_949. Largest Time for Given Digits; 2. discuss; 3. cplusplus_prev_permutation 阅读全文

posted @ 2019-07-26 19:48 鹅要长大 阅读(192) 评论(0) 推荐(0)

【Leetcode_easy】944. Delete Columns to Make Sorted
摘要:problem 944. Delete Columns to Make Sorted 题意:其实题意很简单,但是题目的description给整糊涂啦。。。直接看题目标题即可理解。 solution: 参考 1. Leetcode_easy_944. Delete Columns to Make S 阅读全文

posted @ 2019-07-26 19:47 鹅要长大 阅读(153) 评论(0) 推荐(0)

【Leetcode_easy】942. DI String Match
摘要:problem 942. DI String Match 参考 1. Leetcode_easy_942. DI String Match; 完 阅读全文

posted @ 2019-07-26 19:46 鹅要长大 阅读(120) 评论(0) 推荐(0)

【Leetcode_easy】938. Range Sum of BST
摘要:problem 938. Range Sum of BST 参考 1. Leetcode_easy_938. Range Sum of BST; 完 阅读全文

posted @ 2019-07-26 19:45 鹅要长大 阅读(147) 评论(0) 推荐(0)

【Leetcode_easy】941. Valid Mountain Array
摘要:problem 941. Valid Mountain Array solution: solution2: 参考 1. Leetcode_easy_941. Valid Mountain Array; 2. discuss_climb_mountain; 完 阅读全文

posted @ 2019-07-26 19:45 鹅要长大 阅读(165) 评论(0) 推荐(0)

【Leetcode_easy】937. Reorder Log Files
摘要:problem 937. Reorder Log Files solution: 参考 1. Leetcode_easy_937. Reorder Log Files; 2. discuss1_conpare; 3. discuss2_sort; 4. discuss3_moveback; 完 阅读全文

posted @ 2019-07-26 19:44 鹅要长大 阅读(171) 评论(0) 推荐(0)

【Leetcode_easy】933. Number of Recent Calls
摘要:problem 933. Number of Recent Calls 参考 1. Leetcode_easy_933. Number of Recent Calls; 完 阅读全文

posted @ 2019-07-26 19:43 鹅要长大 阅读(116) 评论(0) 推荐(0)

【Leetcode_easy】929. Unique Email Addresses
摘要:problem 929. Unique Email Addresses solution: 参考 1. Leetcode_easy_929. Unique Email Addresses; 完 阅读全文

posted @ 2019-07-26 19:42 鹅要长大 阅读(137) 评论(0) 推荐(0)

【Leetcode_easy】876. Middle of the Linked List
摘要:problem 876. Middle of the Linked List 参考 1. Leetcode_easy_876. Middle of the Linked List; 完 阅读全文

posted @ 2019-07-26 19:35 鹅要长大 阅读(93) 评论(0) 推荐(0)

【Leetcode_easy】883. Projection Area of 3D Shapes
摘要:problem 883. Projection Area of 3D Shapes 参考 1. Leetcode_easy_883. Projection Area of 3D Shapes; 完 阅读全文

posted @ 2019-07-26 19:34 鹅要长大 阅读(111) 评论(0) 推荐(0)

【Leetcode_easy】884. Uncommon Words from Two Sentences
摘要:problem 884. Uncommon Words from Two Sentences 题意:只要在两个句子中单词出现总次数大于1次即可。 注意掌握istringstream/map/set的使用方法。 solution: 参考 1. Leetcode_easy_884. Uncommon W 阅读全文

posted @ 2019-07-26 19:33 鹅要长大 阅读(112) 评论(0) 推荐(0)

【Leetcode_easy】892. Surface Area of 3D Shapes
摘要:problem 892. Surface Area of 3D Shapes 题意:感觉不清楚立方体是如何堆积的,所以也不清楚立方体之间是如何combine的。。 Essentially, compute the surface area of each grid but substract the 阅读全文

posted @ 2019-07-26 19:32 鹅要长大 阅读(128) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 19 下一页

导航