DEV Community

Discussion on: Exploring the Two Sum Interview Question in JavaScript

Collapse
 
karataev profile image
Eugene Karataev

Great example of iterative approach to solve a problem.
"Hash table" is the first thing that pops up in my mind when I try to optimize a brute-force solution.