注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
发个昨天的Akuna Capital 的电面, 职位是 Python junior developer, 海投之后做了 oa 收到了电面面之前看地理面说可能明明通知你4:00CST 面,然后4:00 EST 打电话来,结果果然如此,面试官还迟了15分钟打电话给我...
下面问题:
1. OOP 中 encapsulation 有什么好处
2. Why do we want inheritance. MultiInheritance 是怎么回事
3. Python 怎么决定一个 Object 被不被 GC
4. property of Python decorator
5. What's the difference between '==' and 'is' when compared objects. When to use them
6. Do you know pickle module?
嗯...就记得这么多了,一开始好像还问了个最 challenging 的 project, 最后提问时间
整个过程中感觉面试官印度姐姐的口音飘忽在能听懂和听不懂的界限上,而且她好像也经验不足,经常会小小的笑出声来
就这样我们结束了一次时长为23分钟的愉快电话面试...才怪啊
这家果然考的很细,不是我这种半路出家的Python 选手能 handle 的
最后求大米,onsite 就算了~
附上之前准备的小资料,大家拿米不易,就不发文件了,直接复制粘贴吧~
[hide=13]
1. Describe a technical challenge in one project-google 1point3acres
. Waral 鍗氬?鏈夋洿澶氭枃绔�, 2. OOP benefits 1. Modularity for easier troubleshooting 2. encapsulation Once an Object is created, knowledge of its implementation is not necessary for its use. Objects have the ability to hide certain parts of themselves from programmers. 3. Reuse of code through inheritance/Code Reuse and Recycling 4. Flexibility through polymorphism 5. Object Oriented Programs force designers to go through an extensive planning phase, which makes for better designs with less flaws
3. "with" in python
The wiign="left"> Does it have a stack and a heap and what algorithm is used to manage memory? When we are talking about CPython it uses a private heap for storing objects. : Memory management in Python involves a private heap containing all Python objects and data structures. The management of this private heap is ensured internally by the Python memory manager. The Python memory manager has different components which deal with various dynamic storage management aspects, like sharing, segmentation, preallocation or caching. The algorithm used for garbage collecting is called Reference counting. That is the Python VM keeps an internal journal of how many references refer to an object, and automatically garbage collects it when there are no more references refering to it. 鐣欏?鐢宠?璁哄潧-涓 |