• + 0 comments
    def circularArrayRotation(a, k, queries):
        return list(map(lambda x: a[x - (k % len(a))], queries))