https://www.codepile.net/pile/7xJ5b724
@premang here ur while loop condition is wrong. it should be while(i<j)