Awesome q2a theme
0 votes
8 views

Suppose we have the following sorted list: $[3, 5, 6, 8, 11, 12, 14, 15, 17, 18]$ and array data structure is used. We are using recursive binary search algorithm to search an element 8. Which of the following group of numbers correctly show the sequence of comparison used to find element 8?

(Assume array index starting with $0$)

  1. $11, 6, 5, 8$
  2. $12, 6, 11, 8$
  3. $11, 5, 6, 8$
  4. $12, 11, 6, 8$
in Others by (53 points) | 8 views

Please log in or register to answer this question.

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
Welcome to GATE CSE Doubts, where you can ask questions and receive answers from other members of the community.
Top Users Jan 2020
  1. shashin

    1262 Points

  2. Deepakk Poonia (Dee)

    346 Points

  3. Vimal Patel

    343 Points

  4. Debapaul

    265 Points

  5. Satbir

    194 Points

  6. Pratyush Priyam Kuan

    158 Points

  7. tp21

    151 Points

  8. SuvasishDutta

    151 Points

  9. pranay562

    142 Points

  10. DukeThunders

    97 Points

Monthly Top User and those within 60% of his/her points will get a share of monthly revenue of GO subject to a minimum payout of Rs. 500. Current monthly budget for Top Users is Rs. 75.
3,085 questions
1,538 answers
9,232 comments
89,827 users