• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
neverlandly
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
2019年10月21日
Leetcode: Vertical Order Traversal of a Binary Tree
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-21 09:48 neverlandly 阅读(4) 评论(0) 推荐(0)
Leetcode: Number of Matching Subsequences
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-21 08:02 neverlandly 阅读(4) 评论(0) 推荐(0)
Leetcode: Snapshot Array
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-21 06:37 neverlandly 阅读(2) 评论(0) 推荐(0)
Leetcode: My Calendar I
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-21 02:44 neverlandly 阅读(3) 评论(0) 推荐(0)
2019年10月20日
Leetcode: Minimum Swaps To Make Sequences Increasing
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-20 15:22 neverlandly 阅读(5) 评论(0) 推荐(0)
Leetcode: Confusing Number II
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-20 08:05 neverlandly 阅读(4) 评论(0) 推荐(0)
Leetcode: Escape a Large Maze
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-20 05:57 neverlandly 阅读(2) 评论(0) 推荐(0)
2019年10月18日
Leetcode: Split BST
摘要: Note: The size of the BST will not exceed 50. The BST is always valid and each node's value is different. Note: The size of the BST will not exceed 50 阅读全文
posted @ 2019-10-18 15:04 neverlandly 阅读(213) 评论(0) 推荐(0)
Leetcode: Flip Equivalent Binary Trees
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-18 13:25 neverlandly 阅读(2) 评论(0) 推荐(0)
Leetcode: Find And Replace in String
摘要: HashMap Sort and replace S from right to left (未深究) 阅读全文
posted @ 2019-10-18 12:57 neverlandly 阅读(133) 评论(0) 推荐(0)
Leetcode: Crack The Safe
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-18 10:21 neverlandly 阅读(4) 评论(0) 推荐(0)
2019年10月17日
Leetcode: Confusing Number
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-17 15:28 neverlandly 阅读(17) 评论(0) 推荐(0)
Leetcode: Optimize Water Distribution in a Village && Summary: Union Find and Minimum Spanning Tree
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-17 14:24 neverlandly 阅读(5) 评论(0) 推荐(0)
Leetcode: Rotated Digits
摘要: X is a good number if after rotating each digit individually by 180 degrees, we get a valid number that is different from X. Each digit must be rotated - we cannot choose to leave it alone. A number i 阅读全文
posted @ 2019-10-17 12:21 neverlandly 阅读(133) 评论(0) 推荐(0)
2019年10月16日
Leetcode: Find Eventual Safe States
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-16 15:38 neverlandly 阅读(2) 评论(0) 推荐(0)
Leetcode: Minimum Area Rectangle II
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-16 13:22 neverlandly 阅读(4) 评论(0) 推荐(0)
Leetcode: Binary Tree Coloring Game
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-16 09:51 neverlandly 阅读(3) 评论(0) 推荐(0)
2019年10月15日
Leetcode: Repeated String Match
摘要: The idea is to keep string builder and appending until the length A is greater or equal to B. use a while loop to keep adding A to stringBuilder until 阅读全文
posted @ 2019-10-15 15:28 neverlandly 阅读(73) 评论(0) 推荐(0)
Leetcode: Delete Nodes And Return Forest
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-15 13:50 neverlandly 阅读(3) 评论(0) 推荐(0)
Leetcode: Construct Binary Tree from Preorder and Postorder Traversal
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-15 10:14 neverlandly 阅读(2) 评论(0) 推荐(0)
2019年10月14日
Leetcode: Longest Word in Dictionary through Deleting
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-14 15:08 neverlandly 阅读(3) 评论(0) 推荐(0)
Leetcode: Student Attendance Record II
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-14 13:21 neverlandly 阅读(2) 评论(0) 推荐(0)
Leetcode: Student Attendance Record I
摘要: 1-liner s.contains("") normally is O(nm), but can be optimized to be O(n) O(n) scan 阅读全文
posted @ 2019-10-14 11:43 neverlandly 阅读(132) 评论(0) 推荐(0)
Microsoft OA
摘要: 没有想到要再存一个HashMap, appearance to character mapping 阅读全文
posted @ 2019-10-14 08:34 neverlandly 阅读(516) 评论(0) 推荐(0)
2019年10月13日
Leetcode: Split Array into Consecutive Subsequences
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-13 09:26 neverlandly 阅读(4) 评论(0) 推荐(0)
Leetcode: Robot Room Cleaner
摘要: Given a robot cleaner in a room modeled as a grid. Each cell in the grid can be empty or blocked. The robot cleaner with 4 given APIs can move forward, turn left or turn right. Each turn it made is... 阅读全文
posted @ 2019-10-13 07:43 neverlandly 阅读(267) 评论(0) 推荐(0)
Leetcode: Time Based Key-Value Store
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-13 05:53 neverlandly 阅读(3) 评论(0) 推荐(0)
2019年10月12日
Leetcode: Most Stones Removed with Same Row or Column
摘要: If stone a and stone b are in the same column/row, we connect them as a component The largest possible number of moves we can make = the number of uni 阅读全文
posted @ 2019-10-12 15:03 neverlandly 阅读(194) 评论(0) 推荐(0)
Leetcode: Minimum Area Rectangle
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-12 13:33 neverlandly 阅读(2) 评论(0) 推荐(0)
2019年10月11日
Leetcode: Find the Shortest Superstring
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-11 14:01 neverlandly 阅读(5) 评论(0) 推荐(0)
2019年10月10日
Leetcode: Network Delay Time
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-10 16:04 neverlandly 阅读(7) 评论(0) 推荐(0)
Leetcode: 24 Game
摘要: Backtracking: every time draw two cards, calculate the possible results, and add one result to the nextRound list. The nextRound list will have the re 阅读全文
posted @ 2019-10-10 14:10 neverlandly 阅读(194) 评论(0) 推荐(0)
Leetcode: Minimum Window Subsequence
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-10 10:33 neverlandly 阅读(2) 评论(0) 推荐(0)
2019年10月9日
Leetcode: Brace Expansion
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-09 15:52 neverlandly 阅读(3) 评论(0) 推荐(0)
Leetcode: Expressive Words
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-09 15:05 neverlandly 阅读(2) 评论(0) 推荐(0)
Leetcode: Race Car
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-09 13:53 neverlandly 阅读(3) 评论(0) 推荐(0)
2019年10月8日
Leetcode: Cat and Mouse
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-08 16:29 neverlandly 阅读(3) 评论(0) 推荐(0)
2019年10月7日
Leetcode: New 21 Game
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-07 14:44 neverlandly 阅读(3) 评论(0) 推荐(0)
Leetcode: String Transforms Into Another String
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-07 11:31 neverlandly 阅读(3) 评论(0) 推荐(0)
Leetcode: Design Search Autocomplete System
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-07 09:29 neverlandly 阅读(6) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 21 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3