Algorithm Development
Specification. Store an integer in k to truthify:b[0..k] <= x < b[k+1..b.length-1]
Examples:
b
x 1 2 3 4 5 6 7 8 9 10
k -1 0 3 3 4 5 5 7 8 8
Previous slide
Next slide
Back to first slide
View graphic version