/data-structures-and-algorithms

Practice with Data Structures and Algorithms

Primary LanguageJavaScript

Data Structures and Algorithms

See setup instructions, in the Code 301 Setup Guide.

Repository Quick Tour and Usage

301 Code Challenges

Under the javascript folder, at the top level, is a sub-folder called code-challenges

Each day, you'll add one new file to this folder to do your work for the day's assigned code challenge

If you have not already done so, run npm install from within this folder to setup your system to be able to run tests using Jest

To run your tests

  • Change to the javascript folder
  • run npm test to run all of the tests
  • run npm test ## to only run tests for challenge ## (i.e. 01)

401 Data Structures, Code Challenges

Table of Contents

Linked Lists

Data Structures and challenges
- List reverse

- List insert shift

- List binary search

- Linked lists

- Linked list Insertions

- Linked list Kth

- Linked list Zip

Queues

Data Structures and challenges
- Queue: Basics

Stacks

Data Structures and challenges
- Stacks: Basics

Pseudo Queues - Stack Queues

Data Structures and challenges
- PseudoQueues: Basics

- Animal Shelter

- Brackets

Binary Trees

Data Structures and challenges
- Binary Trees: Basics

- Binary Trees: Breadth First
- Binary Trees: Intersection

Binary Search Trees

Data Structures and challenges
- Binary Search Trees: Basics

K-Ary Trees

Data Structures and Challenges
- K-ary Trees: Fizz Buzz

Lists

Data Structure and Challenges
- Insertion Sort

- Merge Sort

- Comparison Sort

HashTable

Data Structures and Challenges
- Hash Table
- Hash Table Repeated Word

Graphs

Data Structures and Challenges
- Graph