leetle

Daily challenge for 2025-07-24

205. Find All Pairs with Sum

Write a function solve that finds all unique pairs of numbers in an array that sum to a target value. Return the count of such pairs.

Example:
Input: [1, 2, 3, 4, 5], target = 6
Output: 2 (pairs: (1,5) and (2,4))

Run this challenge interactively in Python or JavaScript when the app loads.