5 problems in this category
Given an array of integers and a target, return the indices of two numbers that add up to the target.
O(n)
Returns true if the input array has any duplicates, false otherwise.
Groups words that are anagrams of each other.
O(n * k log k)
O(n * k)
Returns the k most frequent elements in the array.
O(n log n)
Returns a new array such that each index has the product of all elements except itself.
O(1)