discontinuedPackage algorithms_core has been discontinued and replaced by lunaris_engine.

map_algorithms/two_sum library

Functions

twoSum<T>(List<T> nums, T target) → List<int>?
Finds two indices in the list nums whose elements sum up to target.