how to code this question of LinkedIn# JobHunting - 待字闺中
k*r
1 楼
System design
a. Output produce(Input input)
b. Output merge(Output o1, Output o2)
c. Now given a list of inputs List inputs, using k threads to
generate the result.
d. Queue, lock, thread safe and so on
any idea? Thanks,
a. Output produce(Input input)
b. Output merge(Output o1, Output o2)
c. Now given a list of inputs List inputs, using k threads to
generate the result.
d. Queue, lock, thread safe and so on
any idea? Thanks,