Freshworks Interview Question

Array rotation by k times