ghostmanMinimum Cost to Hire K WorkersThere are n workers. The i-th worker has a quality[i] and a minimum wage expectation wage[i].2 min read·Jun 12, 2021----

ghostmanLongest Substring Without Repeating CharactersGiven a string s, find the length of the longest substring without repeating characters.2 min read·Jun 6, 2021----

ghostmanDo you know any number you can make with a combination of a power of 2 ?[ 1, 2, 4, 8, 16, 32, 64, 128, 256]2 min read·Mar 5, 2021----

ghostmanDepth-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.2 min read·Mar 1, 2021----

ghostmanNext Greater numberlet’s try to find the next greater number with the same set of digit3 min read·Feb 12, 2021----

ghostmanRepeating 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…2 min read·Feb 7, 2021----

ghostmanFind 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…3 min read·Aug 21, 2020----