tarunsinghofficial / HacktoberFest

:octocat: Add your Programs or tech content to help other contributors ✅
383 stars 2.3k forks source link

LongestIncreasingSubsequence #2845

Open ismailkarakayax opened 5 months ago

ismailkarakayax commented 5 months ago

Problem: Longest Increasing Subsequence

Given an array, find the length of the longest increasing subsequence in the array.

For example, for the array: [10, 22, 9, 33, 21, 50, 41, 60, 80]

The longest increasing subsequence is: [10, 22, 33, 50, 60, 80]