Skip to content

Curated solutions to LeetCode problems with clean, well-commented code (Java/Python/C++), explained approaches, and time/space complexity. Organized by topic & difficulty, with reusable templates, edge-case notes, and basic test cases for interview prep.

Notifications You must be signed in to change notification settings

karan96108/LeetCode-Questions-Solution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Math

0007-reverse-integer
0013-roman-to-integer
0070-climbing-stairs
0202-happy-number
0279-perfect-squares
0319-bulb-switcher
0507-perfect-number

Brainteaser

0319-bulb-switcher

Hash Table

0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0202-happy-number
0740-delete-and-earn
3242-count-elements-with-maximum-frequency
3412-permutation-difference-between-two-strings

Two Pointers

0088-merge-sorted-array
0202-happy-number

Dynamic Programming

0070-climbing-stairs
0279-perfect-squares
0740-delete-and-earn

Memoization

0070-climbing-stairs

String

0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
3412-permutation-difference-between-two-strings

Stack

0020-valid-parentheses

Array

0014-longest-common-prefix
0054-spiral-matrix
0088-merge-sorted-array
0740-delete-and-earn
3045-minimum-right-shifts-to-sort-the-array
3220-count-tested-devices-after-test-operations
3242-count-elements-with-maximum-frequency
3251-maximum-area-of-longest-diagonal-rectangle

Trie

0014-longest-common-prefix

Simulation

0054-spiral-matrix
3220-count-tested-devices-after-test-operations

Counting

3220-count-tested-devices-after-test-operations
3242-count-elements-with-maximum-frequency

Matrix

0054-spiral-matrix

Sliding Window

0003-longest-substring-without-repeating-characters

Sorting

0088-merge-sorted-array

Breadth-First Search

0279-perfect-squares

About

Curated solutions to LeetCode problems with clean, well-commented code (Java/Python/C++), explained approaches, and time/space complexity. Organized by topic & difficulty, with reusable templates, edge-case notes, and basic test cases for interview prep.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages