Find Kth Rotation Leetcode Playground Python