17 December 2017Array Interview Questions Maximum sum contiguous sub-array Find a contiguous sub-array whose sum is maximum. Using the dynamic programming based Kadane’s Algorithm, we can solve this in O(N) time.
6 November 201619 November 2023Dynamic Programming Dynamic Programming – Edit Distance Hello people..! In this post, we will see another dynamic programming based problem, finding the minimum edit distance between two strings. Problem […]
21 October 201619 November 2023Competitive Coding, Dynamic Programming Dynamic Programming – Kadane’s Algorithm Hello people..! In this post, we will look at a simple dynamic programming based algorithm which is the optimal solution to the […]
2 March 201517 November 2023Dynamic Programming Dynamic Programming – Introduction and Fibonacci Numbers Note – Theory of Coding is also on YouTube! This post has a video. Watch it at – https://youtu.be/rOjPwES9R2k Hoping you’ll support […]