Valkyrie Trading interview question

Find max element after array rotations and a tcp problem