Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.08 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.08 KB

Typescript

A collection of algorithms and data structures implemented in JavaScript. This repository includes popular algorithms and data structures used in computer science, along with test cases and explanations.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/dinhthi12/project.git
    
  2. Navigate into the directory:

    cd project
    
  3. Install dependencies using Yarn:

    yarn install
  4. Usage

    You can run specific algorithms or data structure files by navigating to the desired folder and running the script with Node.js. For example, to run the Bubble Sort algorithm:

     node src/algorithms/sorting/bubbleSort.js
    
  5. Testing

    This repository uses Jest for testing. To run the test cases:

      yarn run test