Cosmos: Add code for longest bitonic sequence in any language

Created on 14 Oct 2017  路  8Comments  路  Source: OpenGenus/cosmos

Add the code for longest bitonic sequence in any language ( C, JavaScript, Java, Go, Python or any other)

A bitonic Sequence is a sequence of numbers which is first strictly increasing then after a point strictly decreasing.

The code should be placed at code/dynamic_programming/longest_bitonic_sequence

Sample C++ code: see

Note: multiple contributors can work on this issue as it has multiple parts (languages)

Your pull request will be reviewed by maintainers instantly.

For contribution guidelines, see this

If you need any help, let us know.

Hacktoberfest add code new algorithm

Most helpful comment

I have added the the python implementation. Please let me know if there's any issues. Btw this is my first contribution to open source :)

All 8 comments

Hi @AdiChat I would like to work on this issue. I can implement the algorithm in python. I am planing to use dynamic programming. I'll be storing Longest Increasing Subsequence and Longest Decreasing Subsequence as stored values and compute the output, which I think is an efficient approach for solving this.

Sounds good, Go for it 馃憤

Added C implementation: #1442

I have added the the python implementation. Please let me know if there's any issues. Btw this is my first contribution to open source :)

Please assign this to me. I am coding it in Java.

Sure. Go for it 馃憤

Please review PR #1491

Added JS Implementation: PR #1559

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rhendz picture rhendz  路  4Comments

CaramelHeaven picture CaramelHeaven  路  3Comments

ruchirchauhan picture ruchirchauhan  路  4Comments

grantmwilliams picture grantmwilliams  路  4Comments

ms10398 picture ms10398  路  4Comments