Last answered:

04 Sept 2020

Posted on:

15 Apr 2020

0

In the binary sort video in Python course the sorting was not performed. It was intentional or we are assuming the list is always sorted.

2 answers ( 0 marked as helpful)
Posted on:

16 Apr 2020

0
It is called binary search, not binary sort. For binary search to work, the list always needs to be sorted beforehand. 
Posted on:

04 Sept 2020

0
Yes, but in the video the list is not sorted, so we can get a wrong answer at the end. The video is all wrong since the checking is for linear_search anyway.

Submit an answer