Oracle interview question

Problems during project a binary search program