注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
1.+2 3 sum
2. Given set of points in 2d grid space. Find a grid point such that sum
of distance from all the points to this common point is minimum.
3. Print a binary tree by vertical level order
4. Calculate the average of each level of a tree.
5. how do you find the lowest common ancestor of two nodes in a binary tree
6. ??
1--a
2--b
...
26--z
given a digit , return the count of the possible output
您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 使用VIP即刻解锁阅读权限或查看其他获取积分的方式 游客,您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 VIP即刻解锁阅读权限 或 查看其他获取积分的方式 Unlock interview details and practice with AI Popular Interview Questions from Top Companies
65)">
21. Big Integer multiplication. (Optimization required, how to do 8 digits*8 digits, etc).
23.+1 Push all the zero's of a given array to the end of the array. In place only. Ex 1,2,0,4,0,0,8 becomes 1,2,4,8,0,0,0
24. You're given an array of integers(eg [3,4,7,1,2,9,8]) Find the index of values that satisfy A+B = C + D, where A,B,C & D are integers values in the array.
Eg: Given [3,4,7,1,2,9,8] array
The following
3+7 = 1+ 9 satisfies A+B=C+D
so print (0,2,3,5)
25. Find intersection of 2 sorted arrays.
|