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.
-
Sort algorithms
- Bubble sort: folder
./src/sort_algorithms/bubble_sort.ts
- Selection sort: folder
./src/sort_algorithms/selection_sort.ts
- Bubble sort: folder
-
Search algorithms
- Linear search: folder
./src/search_algorithms/recursive_search.ts
- Binary search: folder
./src/search_algorithms/binary_search.ts
- Linear search: folder
-
Stack
- Simple stack: folder
./src/stack_algorithms/simple_stack.ts
- Simple stack: folder
-
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
- Sum of array elements: folder
- Clone this repository
- Run
npm install
- Run
npm test
Jest will run all tests in the ./src/tests
folder.
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!