Microsoft interview question

Mathematical and data structure questions