Skip to content

Commit

Permalink
Haha, cheap shot 'update'.
Browse files Browse the repository at this point in the history
  • Loading branch information
skytreader committed Mar 13, 2016
1 parent cebe224 commit 328236c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions algorithms/binary_search.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /usr/bin/env python
#! /usr/bin/env python3

import math

Expand Down Expand Up @@ -41,7 +41,7 @@ def binary_search(sorted_space, query):
def binary_insert(ss, item):
"""
Inserts the item in sorted_space (assumed to be sorted) such that
the list remains to be sorted. The sorted_space is traversed as
the list remains to be sorted. The sorted_space is traversed as
in binary_search.
Returns the sorted_space with the item inserted in the proper
Expand Down

0 comments on commit 328236c

Please sign in to comment.