This repository is designed for interview preparation, focusing on solving algorithmic problems and practicing coding challenges. It includes a simple setup for running tests to validate solutions in real-time.
Share this URL to simplify your interview
src/sum2/sum2.ts
:- Contains the implementation of the "Two Sum" problem. The function takes an array of numbers and a target value, and it returns the indices of two numbers whose sum equals the target.
npm run test