Showing 3 of 5 questions
Given two integer arrays of the same length, count the number of index pairs where the sum of their elements satisfies a specific condition. This challenge tests your ability to efficiently compare combinations across two datasets.
#1. Count Pairs in Two Arrays
Determine if a given word can be constructed from letters in a 2D board, where letters can be used horizontally or vertically. Each letter can only be used once in the word.
#2. Word Search
Design a data structure that acts as a Least Recently Used (LRU) cache. Implement methods to get and put key-value pairs, evicting the least recently used entry when the cache is full.
#3. LRU Cache
Page 1 of 1 · 5 total