Skip to content

Longest sequence test fail#11

Open
AlexDjangoX wants to merge 13 commits intoboolean-uk:mainfrom
AlexDjangoX:longest-sequence-test-fail
Open

Longest sequence test fail#11
AlexDjangoX wants to merge 13 commits intoboolean-uk:mainfrom
AlexDjangoX:longest-sequence-test-fail

Conversation

@AlexDjangoX
Copy link

Edited longest-sequence.js

Updated test suite to demonstrate code failure due to:

After 'checking next char' => erroneous else block

Redundant comparison => (Object.keys(currentSequence)[0] < Object.keys(currentSequence)[0])

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant