Skip to content

Length of Longest Increasing Subsequences (LIS) using DynamicProgramming and Segment Tree #2631

@januslinhc

Description

@januslinhc

Is your feature request related to a problem? Please describe.
I would like to add a sample Dynamic Programming solution for Length of Longest Increasing Subsequences (LIS).

Describe the solution you'd like
The problem will be addressed by using dynamic programming approach with segment tree. The expected solution would have time complexity of O(N*log N).

Additional context
https://www.geeksforgeeks.org/length-of-longest-increasing-subsequences-lis-using-segment-tree/

As part of Hacktoberfest 2021, I would like to add this implementation, could you please assign this to me @siriak.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions