https://github.com/asheemrahman/data-structure-and-algorithms
This repository contains a collection of Data Structures and Algorithms implemented in JavaScript. The goal of this repository is to provide a comprehensive guide to learning, understanding, and practicing fundamental data structures and algorithms.
https://github.com/asheemrahman/data-structure-and-algorithms
data-structures data-structures-and-algorithms javascript questions questions-and-answers
Last synced: about 1 year ago
JSON representation
This repository contains a collection of Data Structures and Algorithms implemented in JavaScript. The goal of this repository is to provide a comprehensive guide to learning, understanding, and practicing fundamental data structures and algorithms.
- Host: GitHub
- URL: https://github.com/asheemrahman/data-structure-and-algorithms
- Owner: AsheemRahman
- Created: 2024-09-13T13:50:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-26T08:59:44.000Z (about 1 year ago)
- Last Synced: 2025-01-26T09:28:23.250Z (about 1 year ago)
- Topics: data-structures, data-structures-and-algorithms, javascript, questions, questions-and-answers
- Language: JavaScript
- Homepage:
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Data Structure and Algorithms
## Overview
This repository contains a collection of **Data Structures** and **Algorithms** implemented in JavaScript/TypeScript. The content is organized on a weekly basis to structure learning progressively, covering foundational topics in data structures and algorithms along with problem-solving exercises.
## Folder Structure
### Week 1
- **Array**: Basic operations, traversal, searching, and sorting.
- **Binary Search**: Efficient search technique for sorted arrays.
- **Linear Search**: Simple search algorithm for unsorted arrays.
- **Linkedlist**: Singly, Doubly, and Circular Linked Lists.
- **Problems**: Collection of various coding problems from competitive platforms.
- **Recursion**: Solving problems using recursive techniques.
- **String**: String manipulation, pattern matching, and common algorithms.
### Week 2
- **Hash Table**: Concepts of Hashing and handling collisions.
- **Queue**: FIFO structure, Circular Queue, Priority Queue.
- **Sort**: Various sorting algorithms including Merge Sort, Quick Sort.
- **Stack**: LIFO structure and common operations.
### Week 3
- **Graph**: Graph traversal methods (BFS, DFS) and shortest path algorithms.
- **Heap**: Min-Heap, Max-Heap, and Heap Sort.
- **Tree**: Binary Trees, BSTs, AVL Trees, and tree traversal methods.
- **Trie**: Prefix trees, used for storing strings in an efficient way.
## How to Use This Repository
### Prerequisites
- Basic knowledge of programming in JavaScript.
- Node.js installed on your system.
### Installation
1. Clone the repository:
```bash
git clone https://github.com/AsheemRahman/Data-Structure-and-Algorithms.git
## Contributing
Contributions are welcome! Follow the steps below to contribute:
1. Fork the repository.
2. Create a feature branch (git checkout -b feature-branch).
3. Commit your changes (git commit -m 'Add new feature').
4. Push to the branch (git push origin feature-branch).
5. Open a pull request.