📣 Back to School开学季 - VIP通行证5折优惠!蓝莓、Offer多多同步优惠
楼主: xsijg8
跳转到指定楼层
上一主题 下一主题
收起左侧

[第二期活动] 在职刷题打卡,目标工作日一天2题,周末一天5题

🔗
Sato123 2019-8-22 08:35:41 | 只看该作者
全局:
#Day_20

Finished * 2
Count Complete Tree Nodes
Simplify Path

补充内容 (2019-8-22 10:21):
多做一道
Degree of an Array

补充内容 (2019-8-22 13:20):
看TI顺便刷了点
Maximum Distance in Arrays
Reviewed
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock III
回复

使用道具 举报

🔗
yan20156 2019-8-22 13:28:47 | 只看该作者
全局:
Day_9 (8/21)
Search a 2D Matrix II // exclude from left-bottom to right-top
First bad version
回复

使用道具 举报

🔗
 楼主| xsijg8 2019-8-22 15:10:10 | 只看该作者
全局:
day 18
Count Univalue Subtrees 用了一把刚学的骚操作
Next Greater Element I
回复

使用道具 举报

🔗
darktef 2019-8-22 22:30:44 | 只看该作者
全局:
Day 16 Continue on tree
114 flatten binary tree to a linked list, dfs, remember to set the left to nil or Moris? traversal (iteratively, still need some time to consume the ideas)
124 binary tree maximum path sum, dfs, return single path sum and max, the path sum will either be a single path, or a comb of the current node and left and right child path sum
238 product of array except self, two pass, T: O(n), S: O(1)
261 graph valid tree, construct graph, either use bfs/dfs to check if every node is visited or use dfs to detect if there is a cycle
  - according to graph theory, in order to be a valid tree, three conditions are to be met: 1. n nodes w/ n - 1 edges 2. every node is connected 3. no cycle; If two out of three are met, the third one will be met as well.
938 range sum of bst, dfs
回复

使用道具 举报

🔗
xxJay 2019-8-23 00:04:48 | 只看该作者
全局:
#Day_7
347. Top-K-Frequent Element
78. Subsets
回复

使用道具 举报

🔗
Sato123 2019-8-23 10:22:36 | 只看该作者
全局:
#Day_21

Finished * 2
LFU Cache
Cherry Pickup, 3D DP
回复

使用道具 举报

🔗
yan20156 2019-8-23 14:34:21 | 只看该作者
全局:
Day_10 (8/22)

Knight shortest path
Pacific Atlantic Water Flow
回复

使用道具 举报

🔗
 楼主| xsijg8 2019-8-23 15:05:43 | 只看该作者
全局:
day 19
新做两题:
Count Complete Tree Nodes
Minimum Distance Between BST Nodes
这两个换了方法又写了一遍:
Serialize and Deserialize BST
Next Greater Element I
回复

使用道具 举报

🔗
zixinhua 2019-8-23 18:38:14 | 只看该作者
全局:
Day 1 刷educative.io coderust
1. Find the Smallest Common Number from 3 arrays with ascending orders
2. rotate array
3. find the low/high index given a sorted array
4. move zeros to left given an unsorted array
5. find maximum single sell profit from an array of stock cost
回复

使用道具 举报

🔗
xxJay 2019-8-23 23:13:37 | 只看该作者
全局:
#Day_8

34.find-first-and-last-position-of-element-in-sorted-array
14.longest-common-prefix
回复

使用道具 举报

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

本版积分规则

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