https://github.com/ericduran/algo_ds
Algorithms & Data Structures w/ JS
https://github.com/ericduran/algo_ds
algorithm data-structures javascript
Last synced: 2 months ago
JSON representation
Algorithms & Data Structures w/ JS
- Host: GitHub
- URL: https://github.com/ericduran/algo_ds
- Owner: ericduran
- Created: 2018-01-06T02:57:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-18T22:40:12.000Z (over 7 years ago)
- Last Synced: 2025-04-15T18:45:04.857Z (6 months ago)
- Topics: algorithm, data-structures, javascript
- Language: JavaScript
- Homepage:
- Size: 113 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Algorithms & Data Structures
Random algorithms & data structures snippetsThis is just a collection of random problems I've been doing.
This is currently a work in progress, and it's just a giant dump of what was on my computer.
The repo has a bunch of problems not currently listed in the readme.
I'll be organizing it and adding more problems.
| Problem | Type | File |
| -------------- |:---------------:| -----:|
| [Find length of the largest region in Boolean Matrix](https://www.geeksforgeeks.org/find-length-largest-region-boolean-matrix/) | matrix | [matrix.largest-region.js](./matrix.largest-region.js) |
| [Reverse a linked list](https://www.geeksforgeeks.org/reverse-a-linked-list/) | linked list | [linkedList.reverse-iterative.js](./linkedList.reverse-iterative.js) |
| [Detect loop in a linked list](https://www.geeksforgeeks.org/detect-loop-in-a-linked-list/) | linked list | [linkedList.cycle.js](./linkedList.cycle.js) |
| [A program to check if a binary tree is BST or not](https://www.geeksforgeeks.org/a-program-to-check-if-a-binary-tree-is-bst-or-not/) | tree | [tree.check-bst.js](./tree.check-bst.js) |
| [Check if a binary tree is balance](https://www.geeksforgeeks.org/how-to-determine-if-a-binary-tree-is-balanced/) | tree | [tree.check-balance.js](./tree.check-balance.js) |
| [Sorted Array to Balanced BST](https://www.geeksforgeeks.org/sorted-array-to-balanced-bst/) | tree | [tree.from-sorted-array.js](./tree.from-sorted-array.js) |
| [Program to Check if a Given String is Palindrome](https://www.geeksforgeeks.org/c-program-check-given-string-palindrome/) | string | [string.palindrome.js](./string.palindrome.js) |
| [Determine if a string has all Unique Characters](https://www.geeksforgeeks.org/determine-string-unique-characters/) | string | [string.unique.js](./string.unique.js) |
| [Write a program to print all permutations of a given string](https://www.geeksforgeeks.org/write-a-c-program-to-print-all-permutations-of-a-given-string/) | string, permutation | [string.permutation.js](./string.permutation.js) |
| [Implement a quick sort](https://www.geeksforgeeks.org/quick-sort/) | sorting | [sort.quicksort.js](./sort.quicksort.js) |
| [Implement a Run Length Encoding](https://www.geeksforgeeks.org/run-length-encoding/) | string, encoding | [string.compress.js](./string.compress.js) |
| [Implement a Queue](https://www.geeksforgeeks.org/queue-data-structure/) | queue | [queue.js](./queue.js) |
| [Implement a Stack](https://www.geeksforgeeks.org/stack-data-structure-introduction-program/) | stack | [stack.js](./stack.js) |
| [Count ways to reach the n’th stair](https://www.geeksforgeeks.org/count-ways-reach-nth-stair/) | dynamic programming | [dp.stairs.js](./dp.stairs.js) |