DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript loop
int j = 0; for(int i = 0; i < n; ++i) { while(j < n && arr[i] < arr[j]) { j++; } }
Source by www.interviewbit.com #
PREVIOUS
NEXT
Tagged:
#javascript
#loop
ADD COMMENT
Topic
COMMENT
Name
9+5 =
Submit