注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
My american friend's laptop. I cannot type Chinese now. sorry guys 
Amazon OA2
90 min working simulation
break 10 min
70 min 2 quizzes -> longest palindrome substring, rectangle overlap
30 min 1 quiz -> order dependency
longest palindrome substring
in the real test, the parameter was not std::string type. It was "char *s".
Here is C++ code,
stringlongestPalindrome(string s) { int len = s.length(); Hope you guys pass the interview 
|