careercup / CtCI-6th-Edition

Cracking the Coding Interview 6th Ed. Solutions
11.33k stars 4.41k forks source link

Arrays and Strings: One away when string are same #218

Open vbhosle opened 3 years ago

vbhosle commented 3 years ago

Minor bug in One away code is that it returns true for same strings. pale, pale: true