Defining an ES5 constant (variable written in uppercase to follow the convention) for the "not found" value (-1), to improve maintainability and readability
Defining an ES5 constant (variable written in uppercase to follow the convention) for the "not found" value (-1), to improve maintainability and readability

denjalonso/coding-interview-js