discontinuedPackage algorithms_core has been discontinued and replaced by lunaris_engine.

set_algorithms/has_two_sum library

Functions

hasTwoSum<T extends num>(List<T> nums, T target) → bool
Checks if there exists a pair of elements in nums whose sum equals target.