Microsoft interview question

Some algorithmic questions they will ask