注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
做了一下Indeed 的Karat面试,一开始跟其他面经一样是5选2的知识题,如果遇到system internal和OOD我觉得必选因为问的问题和别的面经会基本一样System Internal:
1. What is difference between Thread and Process. How do they communicate
2. What is difference between heap and stack
3. What is the difference between garbage collection and traditional memory management. Give an example GC is not suitable
OOD:
1. Inheritance v.s. Composition. pros / cons
2. What is dependency injection
3. What is the most important object oriented programming principle for complex system
然后做了两道程序题,其实都很简单只不过第二题自己出了个很弱智的小bug浪费了点时间没来得及第三题
第一题是给你一个string和两个数字col row,1st lazy dwarf!"
encrypt("It was all a dream.", key) -> "Od ptw txx t qsutg."
encrypt("Would you kindly?", key) -> "Pljxq zlj yobqxz?"
Complexity analysis:
m: The length of the message
k: The length of the key '''
球加米!
|