-
-
Save roopunk/92c9d01c0093be54f687d92351ab4444 to your computer and use it in GitHub Desktop.
DTU assessment. CS Q1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int j = 0; | |
for(int i=0;i<n; ++i){ | |
while(j<n && arr[i]<arr[j]) { | |
j++; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment