Microsoft Interview Question

Find pivot point in a list with a shift.