Microsoft interview question

Questions regarding the coding with any language