注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
早上刚刚面完Google的intern,我觉得我的题应该是地里最简单了的。面之前看了地里的题,现在瞬间觉得地里的题不知道高到哪里去了。
第一轮:NY 印度哥,好在口音不是很重
1. Given two arrays (or lists), A and B, return an array (or list) containing the elements in A that are not in B
2. Given Strings convert it to number:
Example: Input: “123”, output: 123
Given Int charToInt(char) co每个element是key在S里面下一次出现的index. 然后用veb tree。(这个是什么鬼,我没听说过,小哥也是这也是他在看了solution后第一次听说的。。。。)
祝我好运吧~~
好怕跪了,因为optimization的时候都是一点点和小哥们交流后才弄出来的,第一次写的时候不是最optimal的
|