Microsoft Interview Question

mainly algorithm questions and mathematical tricks