function swap(arr, i, j) {
    const temp = arr[i];
    arr[i] = arr[j];
    arr[j] = temp;
}
/**
 * Swap Characters at position
 * @param arr string value
 * @param i position 1
 * @param j position 2
 */
Swap Characters at position
@param arr string value
@param i position 1
@param j position 2
Swap Characters at position @param arr string value @param i position 1 @param j position 2
function swap(arr, i, j) {
    const temp = arr[i];
    arr[i] = arr[j];
    arr[j] = temp;
}
function swap ( arr , i , j ) { const temp = arr [ i ] ; arr [ i ] = arr [ j ] ; arr [ j ] = temp ; }
Swap Characters at position
 @param arr string value
 @param i position 1
 @param j position 2
Swap Characters at position @param arr string value @param i position 1 @param j position 2