Pergunta de entrevista da empresa Amazon

First coding question was related to rotating an array. Second coding question was related to scheduling techniques in the OS.