# Longest Increasing Sub-sequence

Given a sequence of numbers,we need to find the longest increasing sub-sequence from the given input(not necessary continuous). Example- Input- 1 10 4 5 3 2 9 11 13 Increasing Sub-sequences- 1 4 5 5 9 11 13 10 11 13 4 5 9,etc Longest Increasing Sub-sequence– 1 4 5 9 11 13 Length of […]

Continue reading →