Featured in Data Structures And Algorithms

Quickselect Algorithm

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


1 year, 2 months ago ; 652 views

Longest Substring Without Duplicates

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


1 year, 3 months ago ; 279 views

Underscorify Substring

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


1 year, 3 months ago ; 236 views

Text Justify

Text Justify Text Justification problem is known by various names. These include word wrap and typographical alignment. When using word pr… Read More


1 year, 4 months ago ; 162 views

String Distance

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


1 year, 4 months ago ; 301 views

Count Derangements

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


1 year, 4 months ago ; 361 views

Aircraft Spacing

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


1 year, 4 months ago ; 112 views

Recursion

Recursion Recursion is a useful tool to solve certain types of problems. The use case here is to help us arrive at a dynamic programming solution.… Read More


1 year, 5 months ago ; 365 views

Maximum Sum of a Contiguous Sub array

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


1 year, 5 months ago ; 280 views

Buy and Sell Stock

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


1 year, 5 months ago ; 278 views
Latest

Quickselect Algorithm

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 views

Longest Substring Without Duplicates

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

ago ; 279 views

Underscorify Substring

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

ago ; 236 views

Text Justify

Text Justify Text Justification problem is known by various names. These include word wrap and typographical alignment. When using word pr… Read More

ago ; 162 views

String Distance

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

ago ; 301 views

Count Derangements

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

ago ; 361 views

Aircraft Spacing

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

ago ; 112 views

Recursion

Recursion Recursion is a useful tool to solve certain types of problems. The use case here is to help us arrive at a dynamic programming solution.… Read More

ago ; 365 views

Maximum Sum of a Contiguous Sub array

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

ago ; 280 views

Buy and Sell Stock

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

ago ; 278 views

Become a member
Get the latest news right in your inbox. It's free and you can unsubscribe at any time. We hate spam as much as we do, so we never spam!