Microsoft Interview Question

easy array rotation and some database related questions