mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
Update sum_2_numbers_with_bs.py
This commit is contained in:
parent
092700f566
commit
24b38f0d5b
@ -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…
x
Reference in New Issue
Block a user