Q14_71_20250730162148.webp
T

Q14_71_20250730162148.webp

  • Media owner Todo89
  • Ngày thêm
☑Kizspy.me
☐ A
Given Document
(Choose 1 answer)
Given the Binary search
algorithm (See picture)
If input 2, 4, 5, 7, 8, 9, 10,
13 and x 11, after the third
time of dividing into sublists.
the sublist to be considered
IS
Back
Next
A. 13
procedure Binarysearch (a<a<... <ax: integer)
i:=1
j:=n
while (i<j)
m:=(i+)/2]
if xam then i: =m+1
else j:=m
if x a; then location:= i
else location:= 0
B. 10
C. 10, 13
D. 9. 10

sh the exam.
LAPTOP RUNNING

Thông tin

Category
MAD101
Thêm bởi
Todo89
Ngày thêm
Lượt xem
4,914
Lượt bình luận
16
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom