239. Sliding Window Maximum
maintain a deque of candidates idx in decreasing order only from the current sliding window
Read more ⟶
295. Find Median from Data Stream
use to balanced heaps, one for highest from small and second for lowest among large number.
Read more ⟶
763. Partition Labels
use two-pointer technique, calculate Area = width * height
Read more ⟶
692. Top K Frequent Words
heapq library to obtain the kth largest number in O(n * log(k * m)) time.
Read more ⟶