Skip to content

fabioalmeida100/data-structure-weapons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data structure weapons

Run tests

Hello :-) This repository contains a collection of data structures implemented initialy in TypeScript. The goal is to provide a reference for people who want to learn about data structures.

Table of contents

  • Sort algorithms

    • Bubble sort: folder ./src/sort_algorithms/bubble_sort.ts
    • Selection sort: folder ./src/sort_algorithms/selection_sort.ts
  • Search algorithms

    • Linear search: folder ./src/search_algorithms/recursive_search.ts
    • Binary search: folder ./src/search_algorithms/binary_search.ts
  • Stack

    • Simple stack: folder ./src/stack_algorithms/simple_stack.ts
  • DC - Divide and conquer

    • Sum of array elements: folder ./src/dc/sum_dc.ts
    • Length of array: folder ./src/dc/length_array_dc.ts
    • Maximum value of array: folder ./src/dc/highest_value_dc.ts

How to run the tests

  1. Clone this repository
  2. Run npm install
  3. Run npm test

Jest will run all tests in the ./src/tests folder.

Why learn about data structures?

Data structures are a way to organize and store data in a computer so that it can be used efficiently. They are essential to solve problems and to create efficient programs.

By fabioDeveloper.com | Every person is unique ;-) Enjoy it!

About

This repository contains a collection of data structures implemented for study.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published