Question 12

Given unsorted array, find how many elements can be found using binary search

– ex : [5,4,6,2,8] -> Ans : 3 -> ‘6’ and ‘8’ and ‘5’ can be found using binary search

[advanced_iframe securitykey=”undefined” src=”https://code.kodnest.com/” width=”100%” height=”600″]

KodNest Training New Batch is starting on 19th October 2020. Attend one week free demo classes.Register Now

New Report

Close