Morgan Stanley interview question

3 rounds interview. 1. must know basic Linux, like curl,wget, network... 2. asked code question which required to use recursion algorithm 3. also asked 25 horses racing interview question. Gave 2 minutes to make a resolution.