BFE
.dev
buy us
a coffee
EN
Practice
Explore
EN
JavaScript Coding Questions
105. find the first duplicate character in a string
Discuss
Two-pointer approach: O(n/2) Runtime with O(n) space