Python Daily Challenge problem
Python Daily Challenge problem
Hello,
Today’s post is about solving a new interesting problem using python. We’ll be using Python 3 in this series of challenges.
Problem Statement:
Given a list of numbers and a number k, return whether any two numbers from the list add up to k.
Bonus: Can you do this in one pass?
Example 1:
Input: List [10, 15, 3, 7], k =17
Output: True
Example 2:
Input: List [1,3,4,5,67,7], k= 73
Output: Fal…
View On WordPress











