Showing 3 of 24 questions
Given a set of points with associated tags and coordinates on a plane, find the maximum number of points you can enclose inside a square centered at the origin such that no two points inside share the same tag.
#1. Maximum Points Inside the Square
Given an array of integers, find the number of subarrays that contain exactly K distinct integers. A subarray is a contiguous part of the array.
#2. Subarrays with K Different Integers
Given a list of words, group together all the anagrams. Anagrams are words that contain the same letters rearranged.
#3. Group Anagrams
Page 1 of 1 · 24 total