Microsoft interview question

Mostly on algorithm, dta structure and dynamic programming