Edodovivmagarwal
Computer Science - Algorithms - Binary search - Binary Search Tracing
Log in

Preparing your experience...

Loading scripts and resources

Comments (0)

0/5000

Comments are reviewed before appearing publicly.

About this Experience

Computer Science - Algorithms - Binary search - Binary Search Tracing

vivmagarwal
vivmagarwalJan 29, 2026

Description

8 questions. Q1: arr=[2,4,6,8,10,12,14], target=10. First mid? → index 3 (value 8). Q2: From Q1, after checking mid=3 (value 8<10), new range? → low=4, high=6. Q3: How many comparisons to find 14 in Q1's array? → 3 (mid=3→8<14, mid=5→12<14, mid=6→14 found). Q4: Target=5 in arr=[1,3,5,7,9]. How many

Details

Computer ScienceAlgorithmsClass 9, Class 9, Stage 9, Grade 9, MYP Year 4

Engagement

3

Likes

0

Remixes

0

Comments