Code Quiz
Find First Duplicate With a Set
A Set-based duplicate finder has an ordering bug that makes it always return the first element.
What is the bug that makes this function return the wrong value?
A Set-based duplicate finder has an ordering bug that makes it always return the first element.
What is the bug that makes this function return the wrong value?