Skip to content

Commit ee5c981

Browse files
authored
Update Length_Of_Longest_Increasing_Subsequence.java
1 parent 245e6d2 commit ee5c981

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DynamicProgramming/LongestIncreasingSubsequence/Length_Of_Longest_Increasing_Subsequence.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
https://www.techiedelight.com/longest-increasing-subsequence-using-dynamic-programming/
33
https://www.geeksforgeeks.org/longest-increasing-subsequence-dp-3/
4-
4+
NOTE - This problem can be solved in a better way in O(nlogn) time using BINARY SEARCH
55
66
The Longest Increasing Subsequence (LIS) problem is to find the length of the longest subsequence of a given sequence such that all elements of the subsequence are sorted in increasing order.
77
example - length of LIS for {10, 22, 9, 33, 21, 50, 41, 60, 80} is 6 and LIS is {10, 22, 33, 50, 60, 80}

0 commit comments

Comments
 (0)