Skip to content

Shortest domain error #99

Description

@rapsys

There seems a bug in js code, shortest_domain finish with largest one.

You would need to change sign line 322 of index.js to fix it.
if(shortest_domain.length < domains[d].length){
Should become :
if(shortest_domain.length > domains[d].length){

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions