• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
neverlandly
博客园    首页    新随笔    联系   管理    订阅  订阅

随笔分类 -  Leetcode

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 32 下一页
Leetcode: Escape a Large Maze

只有注册用户登录后才能阅读该文。
posted @ 2019-10-20 05:57 neverlandly 阅读(2) 评论(0) 推荐(0)
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)
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)
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)
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)
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)
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)

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 32 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3