-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Adding LIS in kotlin #2336
Adding LIS in kotlin #2336
Conversation
@jainaman224 @SakshiShreya Please review my PR. |
@@ -0,0 +1,51 @@ | |||
import java.util.* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File name should be Longest_Increasing_Subsequence.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do so because All other files have the same name LIS. If you still want I can change.
@@ -0,0 +1,51 @@ | |||
import java.util.* | |||
|
|||
fun main(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add space before {
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
println("Size of the longest increasing subsequence: $max") | ||
} | ||
|
||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is something wrong that's why colouring is distorted. Please have a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@jainaman224 @SakshiShreya Please review my PR. I made all require changes. |
@jainaman224 @SakshiShreya @raghav-dalmia @somya-kapoor Please review my PR. It's been more than a week. |
Fixes #2253
Checklist:
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
Changes proposed in this pull request:
Languages Used:
Files Added:
Thanks!