Quickselect Algorithm The quickselect algorithm seeks to find the kth smallest value or the kth largest value in an input array in linear time on … Read More
Longest Substring Without Duplicates In this question, I hope to help you find the longest substring without duplicates by first getting the conce… Read More
Underscorify Substring In this question, you are provided with two strings. The first one, called the main string is the longer string. The smalle… Read More
Text Justify Text Justification problem is known by various names. These include word wrap and typographical alignment. When using word pr… Read More
String Distance This algorithm goes by many names. You could for example have heard of edit distance and Levenshtein distance which refers to the … Read More
Count Derangements In combinatorics, a derangement of a set is a permutation of its elements in which none of the elements appear in their origina… Read More
Aircraft Spacing This problem deals with airports and air traffic controllers. Specifically, we want to decide from a set of aircraft which ones t… Read More
Maximum Sum of a Contiguous Subarray Find the contiguous subarray within an array (containing at least one number) that has the largest sum. Fo… Read More
Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to comple… Read More
Quickselect Algorithm The quickselect algorithm seeks to find the kth smallest value or the kth largest value in an input array in linear time on … Read More
ago ; 652 viewsLongest Substring Without Duplicates In this question, I hope to help you find the longest substring without duplicates by first getting the conce… Read More
ago ; 279 viewsUnderscorify Substring In this question, you are provided with two strings. The first one, called the main string is the longer string. The smalle… Read More
ago ; 236 viewsText Justify Text Justification problem is known by various names. These include word wrap and typographical alignment. When using word pr… Read More
ago ; 162 viewsString Distance This algorithm goes by many names. You could for example have heard of edit distance and Levenshtein distance which refers to the … Read More
ago ; 301 viewsCount Derangements In combinatorics, a derangement of a set is a permutation of its elements in which none of the elements appear in their origina… Read More
ago ; 361 viewsAircraft Spacing This problem deals with airports and air traffic controllers. Specifically, we want to decide from a set of aircraft which ones t… Read More
ago ; 112 viewsMaximum Sum of a Contiguous Subarray Find the contiguous subarray within an array (containing at least one number) that has the largest sum. Fo… Read More
ago ; 280 viewsBuy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to comple… Read More
ago ; 278 views