Minimum Cost to Hire K WorkersThere are n workers. The i-th worker has a quality[i] and a minimum wage expectation wage[i].Jun 12, 2021Jun 12, 2021
Longest Substring Without Repeating CharactersGiven a string s, find the length of the longest substring without repeating characters.Jun 6, 2021Jun 6, 2021
Do you know any number you can make with a combination of a power of 2 ?[ 1, 2, 4, 8, 16, 32, 64, 128, 256]Mar 5, 2021Mar 5, 2021
Depth-first search is a way to explore nodes in a tree or graph.suppose you are somewhere and want to visit your friend’s home. you are new and don’t have anyone to guide you.Mar 1, 2021Mar 1, 2021
Next Greater numberlet’s try to find the next greater number with the same set of digitFeb 12, 2021Feb 12, 2021
Repeating and Missing Number in ArrayGiven an unsorted array of size N of positive integers. One number ‘A’ from set {1, 2, …N} is missing and one number ‘B’ occurs twice in…Feb 7, 2021Feb 7, 2021
Find number of nodes in the complete binary treeA Binary Tree is a Complete Binary Tree if all the levels are completely filled except possibly the last level and the last level has all…Aug 21, 2020Aug 21, 2020