注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
本帖最后由 hasong 于 2019-11-11 14:15 编辑
Linkedin面经总结:
Algorithm
· 12. Integer to Roman
· 13. Roman to Integer + input invalid
· 23 Merge k Sorted Lists
· 33. Search in Rotated Sorted Array
· 34. Find First and Last Position of Element in Sorted Array
· 46. Permutations
· 50 Pow(x, n)
· 53. Maximum Subarray
· 56. Merge Intervals
· 65 Valid Number
· 69. Sqrt(x) + 三次根
· 70. Climbing Stairs
· 71. Simplify Path
· 91. Decode Ways + 输出所有可能的情况
· 105. Construct Binary Tree from Preorder and Inorder Traversal + FormatNotValidException, ArithmaticException
· 149. Max Points on a Line
· 150. Evaluate Reverse Polish Notation
· 151. Reverse Words in a String
· 152. Maximum Product Subarray
· 156. Binary Tree Upside Down
· 170. Two Sum III - Data structure design
· 173 Binary Search Tree Iterator
· 187. Repeated DNA Sequences
· 200. Number of Islands
· 205. Isomorphic Strings
○ 输入的是K个string,判断其中至少有两个是iso的
· 235. Lowest Common Ancestor of a Binary Search Tree
· 236. Lowest Common Ancestor of a Binary Tree
· 261. Graph Valid Tree
· 272. Closest Binary Search Tree Value II
· 273. Integer to English Words
· 296. Best Meeting Point + 证明
· 297. Serialize and Deserialize Binary Tree
· 339. Nested List Weight Sum
· 349. Intersection of Two Arrays
· 350. Intersection of Two Arrays II
○ https://www.geeksforgeeks.org/fi ... wo-unsorted-arrays/
○ https://www.geeksforgeeks.org/un ... wo-sorted-arrays-2/
· 352 Data Stream as Disjoint Intervals
· 360. Sort Transformed Array
· 364. Nested List Weight Sum II
· 366. Find Leaves of Binary Tree
· 380. Insert Delete GetRandom O(1)
· 428. Serialize and Deserialize N-ary Tree + 一台机器处理不了怎么办
· 432. All O`one Data Structure
· 468. Validate IP Address
· 516. Longest Palindromic Subsequence
· 567. Permutation in String
· 611. Valid Triangle Number
· 671. Second Minimum Node In a Binary Tree
○ 第三小 general 到 kth, 要利用tournament树特点做
· 698. Partition to K Equal Sum Subsets
· 716. Max Stack
· 730. Count Different Palindromic Subsequences + 输出所有的可能 题解
· 给定一个函数getbiasrandom(), 以p概率返回1, (p-1)概率返回0。实现一个getrandom()函数,以相同概率返回0-6中的一个数
· polish notation的计算 [1,2,3,+,*]
· binary search 的应用, 找到比自己大一号的字母
○ arr = [a,b,d,f,v,z], key = z, ret= a
○ arr = [a,b,d,f,v,z], key = b, ret= d
· 实现hashmap的put(), get()
· 两数组前K个成绩最小 + find intersection + merge array
· print complete tree
· 两个数组的Intersection和Union
○ 多线程union
System Design: summary
· job reccomendation system
|