rotate an array by particular index or value input by user - swift

Published --