注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
There are 4 interview onsite:.--
System Design: Design a job scheduling system
Coding 1:
# Given a list of words, return a mapping from an encoded string to the word such that the encodings are unique, unambiguous, and of minimal length.
# The encoding algorithm is to take the first and last characters and count the number of characters in between.. check 1point3acres for more.
. .и
# kubernetes -> k8s
# internationalization -> i18n
..
# E.g apple -> a3e, amazon -> a4n, netflix -> n5x
# When we get conflicts in encoding, the conflict resolution algorithm is to take the left most character from the middle set of characters and extract it to the *left*. We continuously extract the next character until the two encodes do not conflict.
# google -> g4e -> go3e -> goo2e.1point3acres
# goggle -> g4e -> go3e -> gog2e
Coding 2:
Parse input and format text (I don't really remember exactly)
Code Review:
They will show you OOP code about 2 cars moving on a plane. You will have to review the code and provide any comments and find any bugs in there. |