Skip to content

About ch 1 ex 4 solution #3

Description

@viatsko

Hi,

Looking at this solution:
https://github.com/careercup/CtCI-6th-Edition-JavaScript-ES2015/blob/master/src/chapter1/ch1-q4.js

We are missing the case when string is given with upper case characters (which is true for the original assignment - the string given is "Tact Coa"). I'd suggest to use toLowerCase() and update tests, what do you think?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions