Fundamentals/The Lookup Problem
← PrevNext →
Given an array of values and a target, return true if the target appears in the array. Use a Set so lookup is O(1) per query.