我做过他家的challenge, 两道题2个小时,投的Software engineer, intern。
1. 混合排序
给一个list, 里面有word和 number,对word 和number 分别排序并放在各自的位子上
例如
input cd 3 ab gh 2 ef 5
output ab 2 cd ef 3 gh 5
2. distributed backup.
Copy data-sets from among N servers to each other, so that each server has a copy of all the data-sets。具体的output我忘记了,但是大概是下面的那么个意思
例如
input
DC1: a b c
DC2: b e
output
DC1 - DC2 a
DC1 - DC2 c
DC2 - DC1 e