#heap
Read more stories on Hashnode
Articles with this tag
Problem: You are given an array target of n integers. From a starting array arr consisting of n 1's, you may perform the following procedure...
Problem: There are n different online courses numbered from 1 to n. You are given an array courses where courses[i] = [durationi, lastDayi] ...
Problem: Given an integer array nums and an integer k, return the kth largest element in the array. Note that it is the kth largest element in...
Problem: You are given an integer array heights representing the heights of buildings, some bricks, and some ladders. You start your journey from...