Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LONGEST INCREASING SUBSEQUENCE #50

Open
akshitagupta15june opened this issue Sep 26, 2020 · 5 comments
Open

LONGEST INCREASING SUBSEQUENCE #50

akshitagupta15june opened this issue Sep 26, 2020 · 5 comments

Comments

@akshitagupta15june
Copy link
Member

Find the length of the longest subsequence in a given array A of integers such that all elements of the subsequence are sorted in strictly ascending order.
Input Format

The first line contains a single integer n.
Next line contains n space separated numbers denoting the elements of the array.
Constraints

0 < n< 105
0 < Ai < 105
Output Format

Print a single line containing a single integer denoting the length of the longest increasing subsequence.
Sample Input

6
50 3 10 7 40 80

Sample Output

4

Explanation

The longest subsequence in test case is - 3,7,40,80

@Volku
Copy link
Contributor

Volku commented Sep 26, 2020

I want to work on this. Can you assign it to me please?

@akshitagupta15june
Copy link
Member Author

ASSIGNING IT TO U

@Volku
Copy link
Contributor

Volku commented Sep 26, 2020

which folder I have to add this to

@akshitagupta15june
Copy link
Member Author

@Volku YOU CAN ADD IT IN INTERVIEW QUESTION

@Volku Volku removed their assignment Feb 4, 2023
@ruchikayadav1408
Copy link

I would like to contribute to this project.Please assign me this project.I will complete this project in just one day by using comments,appropriate variable names and in most efficient way.Greatly looking ahead to work with you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants