findNextGEQ

abstract fun findNextGEQ(buffer: IntArray, target: Int, from: Int, to: Int): Int

Given an array buffer that is sorted between indexes 0 inclusive and to exclusive, find the first array index whose value is greater than or equal to target. This index is guaranteed to be at least from. If there is no such array index, to is returned.