Algorithms Longest Palindromic Substring using Dynamic Programming In this article, we have explored the longest palindromic substring problem for which brute force takes O(N^3) time while a Dynamic Programming approach takes O(N^2) time.

Algorithms Number of ways to reach a given number using increments of 1 and 2 The problem we will try to solve is to find the Number of ways to reach a given number (or a score in a game) using increments of 1 and 2 with consecutive 1s and consecutive 2s allowed. This is solved in linear time O(N) using Dynamic Programming.

Algorithms Maximum product cutting problem In Maximum product cutting problem. we are given a rod of length N which we need to cut into small pieces such that the product of the length of the pieces is maximum. This is similar to the Rod Cutting problem and can be solved using Dynamic Programming.

Algorithms Rod cutting problem In this article, we explored the rod cutting problem in depth which can be solved using a Dynamic Programming approach that takes O(N^2) time and O(N) space

Software Engineering Sorting a vector in C++ A vector in C++ can be sorted in multiple ways like ascending or descending order, using a custom comparison function, using lambda, sorting a 2D matrix and using nth_element() function.