IsIsogram solution

Here’s my solution. I found it passes \0 and “” as true without the If (word.length() <= 1) {return true;} statement.

Link to code

Privacy & Terms