Arrays: Left Rotation

  • + 0 comments

    static int[] rotLeft(int[] a, int d) { int j,i,p; for(j=0;j

    Check with this you will get what is the mistake ypu did.