Skip to content

🏎 A simple typescript binary search algorithm implementation!

License

Notifications You must be signed in to change notification settings

AlvaroIsrael/binary-search

Repository files navigation

Binary Search TypeScript Implementation

Binary Search Logo

🏎 A simple typescript binary search algorithm implementation!

Challenge β€’ Technologies Used β€’ How To Use β€’ How To Test β€’ License

Made with ❀️ by Alvaro Israel πŸ‘πŸ» Get in Touch!

πŸ’‘ Challenge

A huge phone book having pairs in the form of {phone number, person's name} was stored as array having been ordered by person's name in alphabetical order. Write a little computer program to search this phone book by the person's name and return its phone number. Take into consideration that the phone book is huge, and the users need the search result to be the fastest possible.

πŸ† Technologies Used

πŸ’» How to Use

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/AlvaroIsrael/binary-search.git

# Go into the main app folder
$ cd binary-search

# Install dependencies
$ yarn install

# Run the app
$ yarn start

🎯 How to Test

# Open up terminal and run
$ yarn test

Code coverage html report can be found at:

./binary-search/coverage/lcov-report/index.html

🧾 License

This software is under GNU General Public License v3.0. See LICENSE for more details.

About

🏎 A simple typescript binary search algorithm implementation!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published