随笔分类 -  leetcode

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

【leetcode_easy_array】1122. Relative Sort Array
摘要:problem 1122. Relative Sort Array solution1: code 哈希表 solution2: code: 思路 解题思路: 首先解读题意。arr2的元素都是独一无二的,并且都所属于arr1。arr1中可能包含重复元素。目标是将arr1中的元素重新排序,排序规则是1 阅读全文

posted @ 2020-07-09 21:53 鹅要长大 阅读(107) 评论(0) 推荐(0)

【Leetcode_easy】1021. Remove Outermost Parentheses
摘要:problem 1021. Remove Outermost Parentheses 参考 1. Leetcode_easy_1021. Remove Outermost Parentheses; 完 阅读全文

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

【Leetcode_easy】1022. Sum of Root To Leaf Binary Numbers
摘要:problem 1022. Sum of Root To Leaf Binary Numbers 参考 1. Leetcode_easy_1022. Sum of Root To Leaf Binary Numbers; 完 阅读全文

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

【Leetcode_easy】1025. Divisor Game
摘要:problem 1025. Divisor Game 参考 1. Leetcode_easy_1025. Divisor Game; 完 阅读全文

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

【Leetcode_easy】1029. Two City Scheduling
摘要:problem 1029. Two City Scheduling 参考 1. Leetcode_easy_1029. Two City Scheduling; 完 阅读全文

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

【Leetcode_easy】1030. Matrix Cells in Distance Order
摘要:problem 1030. Matrix Cells in Distance Order 参考 1. Leetcode_easy_1030. Matrix Cells in Distance Order; 完 阅读全文

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

【Leetcode_easy】1033. Moving Stones Until Consecutive
摘要:problem 1033. Moving Stones Until Consecutive 参考 1. Leetcode_easy_1033. Moving Stones Until Consecutive; 完 阅读全文

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

【Leetcode_easy】1037. Valid Boomerang
摘要:problem 1037. Valid Boomerang 参考 1. Leetcode_easy_1037. Valid Boomerang; 完 阅读全文

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

【Leetcode_easy】1042. Flower Planting With No Adjacent
摘要:problem 1042. Flower Planting With No Adjacent 参考 1. Leetcode_easy_1042. Flower Planting With No Adjacent; 完 阅读全文

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

【Leetcode_easy】1046. Last Stone Weight
摘要:problem 1046. Last Stone Weight 参考 1. Leetcode_easy_1046. Last Stone Weight; 完 阅读全文

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

【Leetcode_easy】1047. Remove All Adjacent Duplicates In String
摘要:problem 1047. Remove All Adjacent Duplicates In String 参考 1. Leetcode_easy_1047. Remove All Adjacent Duplicates In String; 完 阅读全文

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

【Leetcode_easy】1051. Height Checker
摘要:problem 1051. Height Checker solution 参考 1. Leetcode_easy_1051. Height Checker; 完 阅读全文

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

【Leetcode_easy】1071. Greatest Common Divisor of Strings
摘要:problem 1071. Greatest Common Divisor of Strings solution 参考 1. Leetcode_easy_1071. Greatest Common Divisor of Strings; 完 阅读全文

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

【Leetcode_easy】1154. Day of the Year
摘要:problem 1154. Day of the Year solution 参考 1. Leetcode_easy_1154. Day of the Year; 完 阅读全文

posted @ 2019-08-29 17:54 鹅要长大 阅读(157) 评论(0) 推荐(0)

【Leetcode_easy】1170. Compare Strings by Frequency of the Smallest Character
摘要:problem 1170. Compare Strings by Frequency of the Smallest Character solution1: 双重循环,超时; solution2: 哈希表; 参考 1. Leetcode_easy_1170. Compare Strings by 阅读全文

posted @ 2019-08-29 17:52 鹅要长大 阅读(144) 评论(0) 推荐(0)

【Leetcode_easy】1160. Find Words That Can Be Formed by Characters
摘要:problem 1160. Find Words That Can Be Formed by Characters solution 参考 1. Leetcode_easy_1160. Find Words That Can Be Formed by Characters; 完 阅读全文

posted @ 2019-08-29 17:49 鹅要长大 阅读(150) 评论(0) 推荐(0)

【Leetcode_easy】997. Find the Town Judge
摘要:problem 997. Find the Town Judge solution: 参考 1. Leetcode_easy_997. Find the Town Judge; 完 阅读全文

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

【Leetcode_easy】994. Rotting Oranges
摘要:problem 994. Rotting Oranges 参考 1. Leetcode_easy_994. Rotting Oranges; 完 阅读全文

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

【Leetcode_easy】993. Cousins in Binary Tree
摘要:problem 993. Cousins in Binary Tree 参考 1. Leetcode_easy_993. Cousins in Binary Tree; 完 阅读全文

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

【Leetcode_easy】989. Add to Array-Form of Integer
摘要:problem 989. Add to Array-Form of Integer 参考 1. Leetcode_easy_989. Add to Array-Form of Integer; 完 阅读全文

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

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

导航