Microsoft interview question

DSA problem and system design