Given two positive integers n and k, print all increasing sequences of length k such that the elements in every sequence are from first n natural numbers.
Tag - programming problems
Given an array of random numbers, find longest monotonically increasing subsequence (LIS) in the array.If you want to understand the O(NlogN) approach.
Box Stacking Problem - Dynamic Programmming The Box Stacking problem is a variation of LIS problem. We need to build a maximum height stack.
C++ Programming number of contiguous subsequences - Mathematical Algorithms - Given a number as a string, write a function to find the number of substrings