楼主: xinxinxinxin
跳转到指定楼层
上一主题 下一主题
收起左侧

暑假刷题mark一下

🔗
 楼主| xinxinxinxin 2018-6-9 04:07:33 | 只看该作者
全局:
Day 9
Google foo bar challenge
Level 3 -2 && -3  Still by Python

Contains Duplicate
Contains Duplicate II
回复

使用道具 举报

🔗
 楼主| xinxinxinxin 2018-6-9 05:41:17 | 只看该作者
全局:
Day 10
Contains Duplicate III -- TreeSet && Bucket
Split BST

Concept:
Bin Sort, TreeSet, Red Black Tree, Splay Tree, AA-Tree, Treap, K-D Tree
回复

使用道具 举报

🔗
 楼主| xinxinxinxin 2018-6-11 11:52:12 | 只看该作者
全局:
Day 11 . DFS:

Closest Binary Search Tree Value -- ite && rec
Two Sum IV - Input is a BST -- w/out hashset
Closest Binary Search Tree Value II -- lgN + K && O(N) w/ LinkedList && O(lgK*N) w/ Heap && O(K*lgN)
回复

使用道具 举报

🔗
 楼主| xinxinxinxin 2018-6-12 06:38:56 | 只看该作者
全局:
Day 12

Binary Tree Paths
Flatten Binary Tree to Linked List -- ite && rec && DFS
Kth Smallest Element in a BST -- ite && rec
Binary Search Tree Iterator -- stack
Subtree with Maximum Average (!!!!!! Double.MIN_VALUE is a positive number!!!!!!!)
Ugly Number II -- w/ 3 queue
Inorder Successor in BST -- rec && ite
Lowest Common Ancestor of a Binary Search Tree
Lowest Common Ancestor of a Binary Tree
回复

使用道具 举报

🔗
 楼主| xinxinxinxin 2018-6-13 06:55:42 | 只看该作者
全局:
Day 13

Search Range in Binary Search Tree
Trim a Binary Search Tree -- rec && ite
Recover Binary Search Tree -- ite && rec
Insert Node in a Binary Search Tree -- ite
Consistent Hashing
Convert Sorted Array to Binary Search Tree
Convert Sorted List to Binary Search Tree -- O(NlgN) && O(N)
回复

使用道具 举报

🔗
 楼主| xinxinxinxin 2018-6-20 05:01:40 | 只看该作者
全局:
Day 14

Permutations
Next Permutation
Permutations II -- used[] && get next permutation
Permutation Sequence
Permutation Index
回复

使用道具 举报

🔗
 楼主| xinxinxinxin 2018-7-3 09:08:26 | 只看该作者
全局:
刷了几天公开课又回来刷题

Day 15

Two Pointer:
Shortest Subarray with Sum at Least K
Reverse String
Reverse String II
Reverse Words in a String III
Container With Most Water
Move Zeroes
3Sum
Merge Sorted Array
Remove Element -- same dir && diff dir
Trapping Rain Water
回复

使用道具 举报

🔗
sjzyjc 2018-7-3 11:40:13 | 只看该作者
全局:
楼主用什么材料看基础概念啊
回复

使用道具 举报

🔗
 楼主| xinxinxinxin 2018-7-4 03:12:51 | 只看该作者
全局:
sjzyjc 发表于 2018-7-3 11:40
楼主用什么材料看基础概念啊

基础的话去看看Princeton的算法书,不需要特别深入,基础的概念理解了就够刷题了。另外就是结合document了。或者你习惯看中文的话,找找国内的数据结构的书也可以。
回复

使用道具 举报

🔗
 楼主| xinxinxinxin 2018-7-5 02:10:18 | 只看该作者
全局:
Day 16

Two Pointer cont.
Palindrome Linked List
Intersection of Two Arrays
Intersection of Two Arrays II -- sorted 2 pointer  && hashmap
Reverse Vowels of a String
3Sum Closest
Remove Nth Node From End of List
Find the Duplicate Number  ~~ LinkedList Cycle II
回复

使用道具 举报

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

本版积分规则

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