绿卡批准后系统状态突然倒退了!!# EB23 - 劳工卡
r*k
1 楼
Read more: http://www.businessinsider.com/8-mind-bending-interview-questions-that-google-asks-its-engineers-2012-7?op=1#ixzz3BAjAab00
ANSWER: There's a more clever way to do it than just flipping each character.
ANSWER: There's a more clever way to do it than just flipping each character.
Boonsri Dickinson, Business Insider
You can solve the problem iteratively — by basically plowing through each
character and moving it — but there's a clever way to solve it using
something called recursion.
This is basically what Google typically wants: Engineers who find the
smartest solution, not just a correct solution.
That breaks the problem into smaller problems of reversing each word and
then recombining them into a statement.
Read more: http://www.businessinsider.com/8-mind-bending-interview-questions-that-google-asks-its-engineers-2012-7?op=1#ixzz3BAjfvUEi
ANSWER: There's a more clever way to do it than just flipping each character.
ANSWER: There's a more clever way to do it than just flipping each character.
Boonsri Dickinson, Business Insider
You can solve the problem iteratively — by basically plowing through each
character and moving it — but there's a clever way to solve it using
something called recursion.
This is basically what Google typically wants: Engineers who find the
smartest solution, not just a correct solution.
That breaks the problem into smaller problems of reversing each word and
then recombining them into a statement.
Read more: http://www.businessinsider.com/8-mind-bending-interview-questions-that-google-asks-its-engineers-2012-7?op=1#ixzz3BAjfvUEi