m*****k 发帖数: 731 | 1 阿家Prime组新鲜面经,刚面的,
本地猎头中午打电话说阿家 Prime组 some managers/engineers 今天在downtown, 问
有无兴趣去face to face,
鄙人几周前刚被阿家local组锯掉, 明知打这种没准备的仗更是必死无疑,但抱着学习
观摩,兼为本版效力的的态度还是去了。
白男A,
Q1. add 2 numbers, each made up by a linked list and least significant digit
ahead,
例如, 123 表示成 ->3->2->1
知道是老题,但我从没见过标准答案,现想的,
my solution, recursive func:
public Node sum(Node headerA, Node headerB, headerResult, tailResult, int
carrier)
boundary condition is when headerA and headerB are null && c == 0;
Q2.
client 1 need 7 servers fr... 阅读全帖 |
|