psurabh / build_tools

0 stars 0 forks source link

Mi6: write a python program to for binary search (✓ Sandbox Passed) #23

Open psurabh opened 8 months ago

psurabh commented 8 months ago

Description

This pull request adds a Python program that implements a binary search algorithm. The program takes a sorted list and a key as input and returns the index of the key in the list. If the list is not sorted or the key is not in the list, it returns -1.

Summary

Fixes #22.


🎉 Latest improvements to Mi6: #

💡 To get Mi6 to edit this pull request, you can:

psurabh commented 8 months ago

Rollback Files For Mi6

This is an automated message generated by Mi6

psurabh commented 8 months ago

Apply to your PR?

This is an automated message generated by Mi6

psurabh commented 8 months ago

Apply to your PR?

This is an automated message generated by Mi6

AhmedSeemalK commented 8 months ago

Add docstrings to all functions and file headers.