mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-23 08:51:31 -04:00
Update sum_2_numbers_with_bs.py
This commit is contained in:
parent
092700f566
commit
24b38f0d5b
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
|||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
# given a collection of numbers, find the pair
|
||||
# of numbers that sum to a given number
|
||||
|
||||
|
||||
|
||||
def bs(array, desired_num):
|
||||
|
||||
start = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue