Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 568 Bytes

test run in.naishe.algo.search.SearchForAiI

[3, 13, 25, 40, 48, 50, 54, 72, 75, 96]
NO such element where A[i] == i
[30, 37, 47, 52, 58, 59, 60, 77, 98, 99]
NO such element where A[i] == i
[11, 19, 22, 28, 71, 74, 79, 83, 93, 99]
NO such element where A[i] == i
[18, 19, 27, 31, 40, 50, 74, 79, 84, 89]
NO such element where A[i] == i
[7, 22, 26, 33, 55, 61, 79, 85, 90, 93]
NO such element where A[i] == i
[17, 18, 25, 30, 38, 40, 45, 73, 78, 96]
NO such element where A[i] == i
[0, 1, 2, 3, 4, 48, 61, 80, 92, 99]
Found A[i] == i, for [4, 1, 0, 2, 3]