Skip to content

πŸ“˜πŸ’‘ Daily LeetCode solutions with real-life examples 🌍✨ based on the topic's concept πŸ§ πŸ” β€” making learning fun and practical! πŸš€πŸ“ˆ

Notifications You must be signed in to change notification settings

nishant007-ai/leetcode-daily-practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“˜ LeetCode Daily Practice

Python LeetCode Daily Practice

This repository contains my daily DSA (Data Structures & Algorithms) practice from LeetCode, with real-world relatable examples and clean Python solutions.
Each problem includes its level, topic, and a direct code link for easy reference.


πŸ—‚οΈ Problem Tracker

# Problem Title Level Topics Code Link
1 Remove Element (27) Easy Arrays, Two Pointers Code
2 Merge Sorted Array (88) Easy Arrays, Two Pointers Code
3 Remove Duplicates from Sorted Array Easy Arrays, Two Pointers Code
4 Remove Duplicates II from Sorted Array (80) Medium Arrays, Two Pointers Code
5 Product of Array Except Self (238) Medium Prefix, Arrays Code
6 Gas Station (134) Medium Greedy Code
7 Candy (135) Hard Greedy Code
8 Trapping Rain Water (42) Hard Two Pointers, Stack Code
9 Roman to Integer (13) Easy HashMap, Greedy Code
10 Integer to Roman (12) Medium Greedy, Arrays Code
11 Length of Last Word (58) Easy Strings Code
12 Longest Common Prefix (14) Easy Strings Code
13 Reverse Words in a String (151) Medium Strings Code
14 Zigzag Conversion (6) Medium Strings, Simulation Code
15 Find Index of First Occurrence in String (28) Easy Strings Code
16 Text Justification (68) Hard Strings, Formatting Code
17 Jump Game I (55) Medium Greedy, DP Code
18 Jump Game II (45) Medium Greedy Code
19 H-Index (274) Medium Sorting Code
20 Insert Delete GetRandom O(1) (380) Medium HashMap, Design Code
21 Valid Palindrome (125) Easy Two Pointers, String Code
22 Is Subsequence (392) Easy Two Pointers, String Code
23 Two Sum II - Input Array Is Sorted (167) Easy Two Pointers Code
24 Container With Most Water (11) Medium Two Pointers Code
25 3Sum (15) Medium Two Pointers, Sorting Code
26 Best Time to Buy and Sell Stock (121) Easy Greedy Code
27 Best Time to Buy and Sell Stock II (122) Medium Greedy Code
28 Majority Element (169) Easy HashMap, Voting Algorithm Code
29 Minimum Size Subarray Sum (209) Medium Two Pointers Code
30 Longest Substring Without Repeating Characters (3) Medium HashMap, Sliding Window Code
31 Substring with Concatenation of All Words (30) Hard HashMap, Sliding Window Code
32 Minimum Window Substring (76) Hard Sliding Window, HashMap Code
33 Rotate Array (189) Medium Arrays, Rotation Code
34 Valid Sudoku (36) Medium Hashing, Matrix Code
35 Spiral Matrix (54) Medium Matrix, Simulation Code
36 Rotate Matrix (Custom) Medium Matrix, In-place Code
37 Set Matrix Zeroes (73) Medium Matrix Code
38 Game of Life (289) Medium Matrix, Simulation, In-place Code
39 Ransom Note (383) Easy Hashing, String Code
40 Isomorphic Strings (205) Easy HashMap, String Code
41 Word Pattern (290) Easy HashMap, String Code
42 Valid Anagram (242) Easy HashMap, String, Sorting Code
43 Group Anagrams (49) Medium HashMap, String, Sorting Code
44 Happy Number (202) Easy Hashing, Math Code
45 Summary Ranges (228) Easy Arrays, Two Pointers Code
46 Merge Intervals (56) Medium Sorting, Arrays, Merging Code
47 Insert Interval (57) Hard Sorting, Merging, Arrays Code
48 Minimum Number of Arrows to Burst Balloons (452) Medium Sorting, Intervals, Greedy Code
49 Contains Duplicate II (219) Easy HashMap, Sliding Window Code
50 Valid Parentheses (20) Easy Stack, Brackets, Strings Code
51 Simplify Path (71) Medium Stack, String, Path Simplify Code
52 Min Stack (155) Medium Stack, Design Code
53 Evaluate Reverse Polish Notation (150) Medium Stack, Math, Expression Eval Code
54 Basic Calculator (224) Hard Stack, Math, Parentheses Code
55 Linked List Cycle (141) Easy Linked List, Hashing Code
56 Longest Consecutive Sequence (128) Hard HashSet, Sorting Code

🚧 Coming Soon

✨ More LeetCode problems will be added soon...
Stay tuned for:

  • Advanced Dynamic Programming
  • Graph Algorithms
  • Backtracking Challenges
  • System Design & Patterns
  • Final updated version with explanations & optimized solutions

🧠 Folder Structure

🚧 Coming Soon

✨ More LeetCode problems will be added soon...
Stay tuned for:

  • Advanced Dynamic Programming
  • Graph algorithms
  • Backtracking challenges
  • System design & patterns

βš™οΈ Final updated version coming soon β€” all problems will include detailed explanations and optimized code.


🧠 Folder Structure

πŸ“¦ Folder Structure

Each folder is organized as:

πŸ“¦ Folder Structure


🌟 Day 30 Highlight β†’ Isomorphic Strings

πŸ”Ή Problem: Check if two strings are isomorphic.
πŸ”Ή Approach: Use a hashmap to track character mappings.
πŸ”Ή Real-Life Example: Comparing two secret codes to see if they follow the same pattern.


🎯 Goals

  • Solve 1 problem every day
  • Add real-world relatable examples
  • Maintain clean & structured code

πŸ’‘ How to Use

  1. Clone the repo:
    git clone https://github.com/<your-username>/leetcode-daily-practice.git
    

in this it will becdome coomgin soon all leetcode qution is lvoe then final upadatetion is comomig soon ,......git

About

πŸ“˜πŸ’‘ Daily LeetCode solutions with real-life examples 🌍✨ based on the topic's concept πŸ§ πŸ” β€” making learning fun and practical! πŸš€πŸ“ˆ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published