Skip to content

Manisha1998-singh/DSA-practice

Repository files navigation

🚀 Frontend Developer DSA Roadmap (60 Days)

This repository contains my Data Structures & Algorithms practice roadmap optimized for Frontend Developers.

As a Frontend Developer (React + JavaScript), interview questions usually focus on:

Arrays & Strings

HashMap / HashSet

Sliding Window

Two Pointers

Stack

Linked List

Binary Trees

Basic Graphs

Problem Solving using JavaScript

This roadmap focuses on practical problems frequently asked in Frontend Interviews (Google, Amazon, Microsoft, etc.).

📅 Roadmap Structure 1️⃣ Arrays (Core Frontend Logic)

Two Sum

Best Time to Buy and Sell Stock

Contains Duplicate

Maximum Subarray

Move Zeroes

Merge Sorted Array

Remove Duplicates from Sorted Array

Majority Element

Find Pivot Index

Running Sum of 1D Array

Product of Array Except Self

Container With Most Water

3Sum

Maximum Product Subarray

Find Minimum in Rotated Sorted Array

Search in Rotated Sorted Array

2️⃣ Strings (Very Important for JS Interviews)

Valid Palindrome

Valid Palindrome II

Reverse String

Reverse Words in a String

Longest Common Prefix

Valid Anagram

First Unique Character in a String

Isomorphic Strings

Longest Substring Without Repeating Characters

Group Anagrams

String to Integer (atoi)

Longest Palindromic Substring

Palindromic Substrings

Zigzag Conversion

Count and Say

Encode and Decode Strings

Find All Anagrams in a String

Minimum Window Substring

3️⃣ HashMap / HashSet

Two Sum (HashMap)

Ransom Note

Contains Duplicate II

Intersection of Two Arrays

Intersection of Two Arrays II

Top K Frequent Elements

Longest Consecutive Sequence

Happy Number

Word Pattern

Is Subsequence

Jewels and Stones

Unique Number of Occurrences

4️⃣ Sliding Window

Longest Substring Without Repeating Characters

Maximum Average Subarray

Permutation in String

Find All Anagrams in a String

Longest Repeating Character Replacement

Minimum Window Substring

Max Consecutive Ones III

Subarray Sum Equals K

5️⃣ Two Pointer Technique

Valid Palindrome

3Sum

Container With Most Water

Remove Duplicates from Sorted Array

Merge Sorted Array

Trapping Rain Water

Move Zeroes

6️⃣ Stack (Important for Browser / Parsing)

Valid Parentheses

Min Stack

Next Greater Element I

Next Greater Element II

Daily Temperatures

Evaluate Reverse Polish Notation

Decode String

Simplify Path

Basic Calculator

Largest Rectangle in Histogram

7️⃣ Linked List (Basic Only)

Reverse Linked List

Merge Two Sorted Lists

Middle of the Linked List

Linked List Cycle

Remove Nth Node From End

Add Two Numbers

Intersection of Two Linked Lists

Copy List with Random Pointer

8️⃣ Binary Trees

Maximum Depth of Binary Tree

Same Tree

Invert Binary Tree

Symmetric Tree

Binary Tree Level Order Traversal

Diameter of Binary Tree

Balanced Binary Tree

Subtree of Another Tree

Path Sum

Binary Tree Right Side View

Lowest Common Ancestor of Binary Tree

9️⃣ Binary Search

Binary Search

Search Insert Position

First Bad Version

Find Peak Element

Kth Missing Positive Number

Search in Rotated Sorted Array

Find Minimum in Rotated Sorted Array

🔟 Heap / Priority Queue

Kth Largest Element in an Array

Top K Frequent Elements

Find K Closest Elements

K Closest Points to Origin

Merge K Sorted Lists

Task Scheduler

1️⃣1️⃣ Graph (Basic Only)

Number of Islands

Flood Fill

Clone Graph

Course Schedule

Course Schedule II

Pacific Atlantic Water Flow

1️⃣2️⃣ Dynamic Programming (Essential Only)

Climbing Stairs

House Robber

House Robber II

Coin Change

Longest Increasing Subsequence

Longest Common Subsequence

Word Break

1️⃣3️⃣ Design Questions (Important for Frontend Interviews)

LRU Cache

Design HashMap

Design Browser History

Implement Trie

Design Autocomplete System

🛠 Tech Stack Used

JavaScript (ES6+)

Node.js (for running solutions)

Git & GitHub

🎯 Goal

Strengthen problem solving skills

Prepare for Frontend Developer interviews

Build consistent DSA practice habit

Maintain daily coding streak on GitHub

📌 Progress Tracker Day Problems Solved Status Day 1 Arrays ✅ Day 2 Strings ⏳ Day 3 HashMap ⏳ ⭐ If you find this roadmap useful

Give this repository a star ⭐ and follow my journey!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors