Skip to content

Latest commit

 

History

93 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 LeetCode Solutions

Welcome to my LeetCode practice/problem-solving repository!

This repository contains my solutions to LeetCode problems as I work on strengthening my Data Structures & Algorithms skills, improving problem-solving ability, and preparing for technical interviews.

🎯 Goals

  • Strengthen Data Structures & Algorithms fundamentals
  • Develop efficient problem-solving approaches
  • Improve logical and analytical thinking
  • Practice writing clean and optimized code
  • Build consistency in coding practice
  • Prepare for technical interviews and coding assessments

💻 Language

  • Java

📚 Topics

My practice covers a variety of Data Structures & Algorithms concepts, including:

  • Arrays
  • Strings
  • Hash Tables
  • Linked Lists
  • Stacks & Queues
  • Trees & Graphs
  • Recursion & Backtracking
  • Sorting & Searching
  • Dynamic Programming
  • Greedy Algorithms
  • And more as I continue learning

🚀 My Approach

For each problem, I aim to:

  1. Understand the problem and constraints
  2. Identify an appropriate approach
  3. Analyze time and space complexity
  4. Implement a clean solution
  5. Learn from alternative and optimized approaches

📈 Continuous Practice

This repository is a record of my ongoing journey with Data Structures & Algorithms.

I believe consistent practice, understanding the reasoning behind a solution, and learning from mistakes are more valuable than simply counting solved problems.


Keep learning. Keep solving. Keep improving.

LeetCode Topics

Tree

0094-binary-tree-inorder-traversal
0102-binary-tree-level-order-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Breadth-First Search

0102-binary-tree-level-order-traversal
0200-number-of-islands
0841-keys-and-rooms

Binary Tree

0094-binary-tree-inorder-traversal
0102-binary-tree-level-order-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

String

0022-generate-parentheses
2390-removing-stars-from-a-string

Stack

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
2390-removing-stars-from-a-string

Simulation

2390-removing-stars-from-a-string

Array

0001-two-sum
0051-n-queens
0200-number-of-islands
0419-battleships-in-a-board

Hash Table

0001-two-sum

Depth-First Search

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0200-number-of-islands
0419-battleships-in-a-board
0841-keys-and-rooms

Graph Theory

0841-keys-and-rooms
1791-find-center-of-star-graph

Union-Find

0200-number-of-islands

Matrix

0200-number-of-islands
0419-battleships-in-a-board

Backtracking

0022-generate-parentheses
0051-n-queens

Algorithm X

0051-n-queens

Dynamic Programming

0022-generate-parentheses

Bracket Sequences

0022-generate-parentheses

About

My solutions to LeetCode problems and Data Structures & Algorithms practice.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages