会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
shepherd_gai
博客园
首页
新随笔
联系
订阅
管理
[置顶]
A collection of classic programming problems (constantly updating)
摘要: A collection of classic programming questions to tackle the interview
阅读全文
posted @ 2020-08-27 19:02 shepherd_gai
阅读(208)
评论(0)
推荐(0)
2020年9月5日
Meandering array
摘要: An O(1) space complexity approach to solve meandering array problem
阅读全文
posted @ 2020-09-05 20:32 shepherd_gai
阅读(385)
评论(0)
推荐(0)
2020年9月4日
Hibernate animals proliferation
摘要: A dynamic programming approach to solve an interesting question
阅读全文
posted @ 2020-09-04 22:24 shepherd_gai
阅读(170)
评论(0)
推荐(0)
2020年9月1日
A detailed explanation of leetcode 134: Gas Station
摘要: A detailed explanation of leetcode 134 and a sound mathematical proof
阅读全文
posted @ 2020-09-01 22:43 shepherd_gai
阅读(191)
评论(0)
推荐(0)
A classic coding problem in the interview: Leetcode 189
摘要: Rotate the array with constant extra space
阅读全文
posted @ 2020-09-01 20:32 shepherd_gai
阅读(179)
评论(0)
推荐(0)
2020年8月31日
BFS and Heap to solve trapping rain water II
摘要: A solution for leetcode 407 and a concise explanation.
阅读全文
posted @ 2020-08-31 19:37 shepherd_gai
阅读(336)
评论(0)
推荐(0)
2020年8月28日
Applying heap to find median in a stream
摘要: Heap for solving leetcode 295, Find Median from Data Stream
阅读全文
posted @ 2020-08-28 21:01 shepherd_gai
阅读(380)
评论(0)
推荐(0)
2020年8月27日
Linked List merge sort
摘要: A recursive and an iterative implementaion of merge sort to solve leetcode 148
阅读全文
posted @ 2020-08-27 21:33 shepherd_gai
阅读(194)
评论(0)
推荐(0)
2020年8月26日
Fast and slow pointers for cycle detection in linked list
摘要: A detailed explanation and mathematical proof of the method metioned
阅读全文
posted @ 2020-08-26 19:55 shepherd_gai
阅读(184)
评论(0)
推荐(0)
Monotonic stack to solve leetcode 84: Largest Rectangle in Histogram
摘要: A detailed explanation of leetcode 84, applying a monotonically increasing stack to tackle the problem
阅读全文
posted @ 2020-08-26 12:57 shepherd_gai
阅读(615)
评论(0)
推荐(0)
下一页
公告