Community-driven challenges - No solutions shown!
These are interesting problems with no solutions shown. Submit your own solutions or problems to contribute!
10 challenges available
The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value and...
Design a data structure that follows the constraints of a Least Recently Used (LRU) cache. Implement the LRUCache class....
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time....
Given an integer array nums, handle multiple queries of the following types: Update the value of an element in nums....
Given an integer array nums and two integers lower and upper, return the number of range sums that lie in [lower, upper]...
Given an integer array nums, handle multiple queries of type: Update the value of an element in nums. Calculate the sum ...
Given an m x n binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area....
Implement an autocomplete system. For each query, return a list of the top 3 most recent and frequent search sentences....
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Ca...
A city's skyline is formed by the outer contours of silhouettes formed by all the buildings. Given the locations and hei...