查看: 3303| 回复: 19
跳转到指定楼层
上一主题 下一主题
收起左侧

2018背水一战

全局:

注册一亩三分地论坛,查看更多干货!

您需要 登录 才可以下载或查看附件。没有帐号?注册账号

x
本帖最后由 Ayaneru 于 2018-1-9 08:29 编辑

计划是每天十道题加上学习新知识,每周投20+

上一篇:刷题 || php || js || 减肥
下一篇:征刷友-Java 脱产刷题
推荐
BZH 2018-1-10 01:04:13 | 只看该作者
全局:
楼主加油!也鼓励自己。没有intern experience,面临5月份毕业,压力好大。只能咬牙坚持了。
回复

使用道具 举报

推荐
 楼主| Ayaneru 2018-1-18 01:09:41 | 只看该作者
全局:
127. Word Ladder (M)
BFS Queue
130. Surrounded Regions (M)
O(m*n)
131. Palindrome Partitioning (M)
DFS backtracing
128. Longest Consecutive Sequence (H)
When merge the range with new node, only the end of the range should be tracked. If node is in the range, the hashmap would already have the node. O(n)
124. Binary Tree Maximum Path Sum (H)
Do it second time. Consider helper return the single branch sum and get the max sum.
123. Best Time to Buy and Sell Stock III   (H)
Save the profit at each buy and sell time.
126. Word Ladder II (H)
无向图 -> BFS -> 树 -> DFS -> 结果
133. Clone Graph (M)
DFS with hashmap recording visit
134. Gas Station (M)
In range i...j if sum(i, j) > 0 and sum(i,k) < 0, it means sum(i+1, k) < 0. So we can start trying at k+1.
136. Single Number(E)
Use Xor operation.
回复

使用道具 举报

推荐
 楼主| Ayaneru 2018-1-13 14:09:09 | 只看该作者
全局:
Today's coding practices:

Maximum Depth of Binary Tree
Construct Binary Tree from Preorder and Inorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal  
Binary Tree Level Order Traversal II  
Convert Sorted Array to Binary Search Tree  
Convert Sorted List to Binary Search Tree
Balanced Binary Tree
Minimum Depth of Binary Tree
Path Sum
Path Sum II

Learned about parallel computing on coursera. Start on mini project.
回复

使用道具 举报

🔗
haruharu 2018-1-9 09:13:17 | 只看该作者
全局:
握爪 计划一致啊 加油加油
回复

使用道具 举报

🔗
jamesleborn 2018-1-9 11:08:59 | 只看该作者
全局:
加油啊! 我觉得可行!建议楼主把这些指标写出来,我发现写出来会很powerful,让你必须做完
回复

使用道具 举报

🔗
 楼主| Ayaneru 2018-1-10 14:21:36 | 只看该作者
全局:
谢谢各位的鼓励,今年有点难,大家一起加油吧

Sqrt(x) II
LRU
Minstack
Flatten Nested List Iterator
Insert Delete GetRandom
MaximumDistanceTwoWords
SumLinkedList
Recover Binary Search Tree (不会)
Same Tree
Symmetric Tree
回复

使用道具 举报

🔗
 楼主| Ayaneru 2018-1-14 15:34:28 | 只看该作者
全局:
累觉不爱。。

Flatten Binary Tree to Linked List(M) √
Distinct Subsequences
Populating Next Right Pointers in Each Node
Populating Next Right Pointers in Each Node II
Pascal's Triangle
Pascal's Triangle II
Triangle
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock II
Sum Root to Leaf Numbers
回复

使用道具 举报

🔗
 楼主| Ayaneru 2018-1-18 10:56:26 | 只看该作者
全局:
Scramble String
Candy
Palindrome Partitioning II
Sibgle Number II
Copy List with Random Pointer
Word Break
Word Break II
Reorder List
不行了,感觉眼花的要看不见了T T
回复

使用道具 举报

🔗
 楼主| Ayaneru 2018-1-18 11:01:18 | 只看该作者
全局:
hard 题目真的好难。。有时候就是脑子绕不出来,刷一下午题感觉自己跟死鱼一样了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号
隐私提醒:
  • ☑ 禁止发布广告,拉群,贴个人联系方式:找人请去🔗同学同事飞友,拉群请去🔗拉群结伴,广告请去🔗跳蚤市场,和 🔗租房广告|找室友
  • ☑ 论坛内容在发帖 30 分钟内可以编辑,过后则不能删帖。为防止被骚扰甚至人肉,不要公开留微信等联系方式,如有需求请以论坛私信方式发送。
  • ☑ 干货版块可免费使用 🔗超级匿名:面经(美国面经、中国面经、数科面经、PM面经),抖包袱(美国、中国)和录取汇报、定位选校版
  • ☑ 查阅全站 🔗各种匿名方法

本版积分规则

>
快速回复 返回顶部 返回列表