You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: