DEV Community 👩‍💻👨‍💻

Discussion on: A classic interview question

 
sargalias profile image
Spyros Argalias

Nice :)

Thread Thread
 
denispostu profile image
DenisPostu

The new method returns true for "abb", "aab", I don't think it should.

Thread Thread
 
3zzy profile image
Ibrahim Ezzy

You're right, every just won't work. My method works for a few cases but not all.