Array/Rotate Array by K times/main.cpp
void reverse(int arr[], int l, int h)
{
    while (l < h)
    {
        swap(arr[l++], arr[h--]);
    }
}
// It is function to reverse the array
It is function to reverse the array
It is function to reverse the array
void reverse(int arr[], int l, int h)
{
    while (l < h)
    {
        swap(arr[l++], arr[h--]);
    }
}
void reverse ( int arr [ ] , int l , int h ) { while ( l < h ) { swap ( arr [ l ++ ] , arr [ h -- ] ) ; } }
It is function to reverse the array
It is function to reverse the array