注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
9月底参加的学校career fair,不记得和Akuna Capital的recruiter聊了什么给的面试。后来查才发现Akuna Capital是一家在芝加哥发展很好的startup,当然bar应该很高了,自我安慰一下,那么挂了也是情理之中的了。
======================
首先发了online codeing (题目比较简单,时间很充裕)
1. Hardware caching:(多选)
typical computers have several layers of caches.
in general, caches with smaller latency are larger than those with higher latency.
data is moved from one cache to anther one byte at a time.
(哎呀看都看不懂,麻烦资深人士解释一下)
2. software engineering lifecycle(就是发生先后排序,有design, unit test之类的)
3. 不是用来 control excution flow in a typical debugging tool (选的step up)
4. recursion (给了一段简单地程序,问你它干嘛了)
5. trace a program (给了一段简单地程序,问你输出什么)
def traverse(seq_len):
idx = 1
traversed = []
while len(traversed) < seq_len:
traversed.append(idx)
traversed.append(2*len(traversed) + 1)
idx += 2
if idx > seq_len:
idx -= seq_len
sum = 0
for idx in traversed:
i = traversed.pop()
sum += (i * idx)
print(sum)
traverse(7)
6. rank the data structure, (look-up time): 给了 linkedlist, balance binary tree, hash table
7. 给一个int array和target,像是2sum,不同的是要求两个数各乘上100后等于target。
下面是我的code。
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
/*
* Complete the function below.
*/
static boolean any_two_integers(int[] riter bw = new BufferedWriter(new FileWriter(fileName));
int[] res;
res = find_pentagonal();
for(int res_i=0; res_i < res.length; res_i++) {
bw.write(String.valueOf(res[res_i]));
bw.newLine();
}
bw.close();
}
}
11. count bits
long int as input, return long (representing the number of non-zero bits in the binary representation of the input)
12. given two input strings, return a string consisting of the common chars in sorted order.
======================
接下来电面。。。挂了,好心赛。
1. Deadlock
2. Mutex
3. Stack and Heap
4. Differences between python and C++
5. Differences between overloading和overriding
还有好些类似的记不清了。。。
然后有几道很简单code题,说思路就好,不用写。
面试人不好%>_<%,最后问我什么问题要问,我问你有什么有趣的项目分享一下。。。。他居然说好像是秘密,不能透露太多!!
活活打死!!!
|