Skip to content

vishal-shingare/dsa-in-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Data Structures and Algorithms Learning Journey

This is my personal repository where I document my journey learning Data Structures and Algorithms using JavaScript. I use this space to track my progress, store my solutions to various LeetCode problems, and document my understanding of different problem-solving patterns and techniques.

Repository Structure

leetcode-problems/
├── 150-dsa-interview/     # LeetCode Top 150 Interview Questions
├── arrays/
│   └── two-pointer/      # Two Pointer Technique Problems
│       └── easy/         # Easy Level Problems

LeetCode Solutions

Top 150 Interview Questions

# Problem Difficulty Solution Topics
1 Two Sum Easy Solution Array, Hash Table
53 Maximum Subarray Medium Solution Array, Dynamic Programming
121 Best Time to Buy and Sell Stock Easy Solution Array, Dynamic Programming
238 Product of Array Except Self Medium Solution Array
33 Search in Rotated Sorted Array Medium Solution Array, Binary Search

Array Problems

Two Pointer Technique

# Problem Difficulty Solution Topics
26 Remove Duplicates from Sorted Array Easy Solution Array, Two Pointers
27 Remove Element Easy Solution Array, Two Pointers
283 Move Zeroes Easy Solution Array, In-place
169 Majority Element Easy Solution Array, Voting
189 Rotate Array Medium Solution Array, In-place
122 Best Time to Buy and Sell Stock II Medium Solution Array, Greedy

Topics Covered

  • Arrays
    • Two Pointer Technique
    • Hash Table
  • Dynamic Programming
  • Problem-Solving Patterns
    • In-place Array Modifications
    • Sliding Window
    • Hash Map Usage

Learning Resources

How to Use This Repository

  1. Each solution file contains:

    • Problem description in comments
    • Example test cases
    • Well-documented solution with explanations
  2. To run any solution:

    node [path-to-solution-file]

My Learning Progress

This repository serves as a personal documentation of my DSA learning journey. I regularly update it with:

  • New problem solutions as I solve them
  • Improved solutions when I learn better approaches
  • Notes about different problem-solving patterns
  • Implementation techniques I've learned

Note: This is a personal learning repository to showcase my progress and understanding of DSA concepts. While the solutions here work, there might be more optimal approaches as I continue to learn and improve.

About

Data Structures and Algorithms Learning Journey

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published