DEV Community

Discussion on: Scala Daily Coding Problem #001

Collapse
 
rodiongork profile image
Rodion Gorkovenko

Putting elements to HashSet and looking up for K-element... It will make O(N) solution.