Download Brochure

Wednesday, 3 October 2018

Please go through following program in Python:


def  bs(sortedlist,n,x):    start = 0    end = n - 1    while(start <= end):        mid = int((start + end)/2)        if (x == sortedlist[mid]):            return mid        elif(x < sortedlist[mid]):            end = mid - 1        else:            start = mid + 1    return -1 Please find out1. what is program about?2. How many steps Program will execute in terms of input size(N, Number of items) ? Rush your answers to ‘Vissicomp Technology’   at9320957718/17 , 9820681349.The first 10 winners will get “ Vissicomp technology tuitions fees voucher of Rs.1000/-“ 


About the Author

Vissicomp Technology

About Vissicomp

Vissicomp Technology- Sharpens your IT edge

0 comments:

Post a Comment

Special Navratri Offer Starts from 26th Sept. to 10th Oct. 2022. Join Any Course ...

  𝗛𝗨𝗥𝗥𝗬 𝗨𝗣!! Special Navratri Offer .. Grab This Opportunity Navratri Offer Get 10% Off For Any Course Registration Offline 100% Jo...

 

VISSICOMP TECHNOLOGY © 2015 - Blogger Templates Designed by Templateism.com, Plugins By MyBloggerLab.com