Valkyrie Trading Interview Question

Find max element after array rotations and a tcp problem