Skip to content

A structured set of LeetCode problems solved in simple, readable JavaScript, designed for effective interview practice.

Notifications You must be signed in to change notification settings

YadavAkhileshh/dsa-javascript-master

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

DSA in JavaScript

LeetCode problems with complete JavaScript solutions for interview preparation.

About

This repository contains important LeetCode problems organized by topic. Each problem includes brute force approach, optimal solution, complexity analysis, and visual diagrams.

Topics

Arrays - Array manipulation, searching, sorting
Strings - String operations, pattern matching
Linked List - Pointer manipulation, cycles
Trees - Binary trees, BST, traversals
Dynamic Programming - Memoization, tabulation
Graphs - BFS, DFS, shortest paths
Backtracking - Exploring all possibilities
Stack - LIFO operations
Binary Search - Search optimization
Heap - Priority queues
Two Pointers - Efficient traversal
Sliding Window - Subarray problems
Hash Map - Fast lookups
Greedy - Local optimal choices
Trie - Prefix trees

How to Use

  1. Pick a topic
  2. Open any problem
  3. Study the brute force approach
  4. Learn the optimal solution
  5. Practice coding both
  6. Test on LeetCode

Problem Format

Each problem includes:

  • LeetCode link
  • Brute force code
  • Optimal code
  • Complexity analysis
  • Visual diagram

Contributing

Contributions welcome! Add problems, improve solutions, or fix errors.


Happy coding!

About

A structured set of LeetCode problems solved in simple, readable JavaScript, designed for effective interview practice.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published