Rotate Array

Java

Python