Skip to content

aditya2-code/DSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

241 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0014-longest-common-prefix
0015-3sum
0018-4sum
0027-remove-element
0031-next-permutation
0035-search-insert-position
0053-maximum-subarray
0056-merge-intervals
0066-plus-one
0074-search-a-2d-matrix
0075-sort-colors
0088-merge-sorted-array
0121-best-time-to-buy-and-sell-stock
0136-single-number
0169-majority-element
0961-n-repeated-element-in-size-2n-array
1390-four-divisors
1458-max-dot-product-of-two-subsequences
2965-find-missing-and-repeated-values

Two Pointers

0011-container-with-most-water
0015-3sum
0018-4sum
0027-remove-element
0031-next-permutation
0075-sort-colors
0088-merge-sorted-array
0125-valid-palindrome
0151-reverse-words-in-a-string

Binary Search

0035-search-insert-position
0074-search-a-2d-matrix

Math

0002-add-two-numbers
0050-powx-n
0066-plus-one
1390-four-divisors
2965-find-missing-and-repeated-values

Hash Table

0001-two-sum
0169-majority-element
0242-valid-anagram
0961-n-repeated-element-in-size-2n-array
2965-find-missing-and-repeated-values

String

0014-longest-common-prefix
0058-length-of-last-word
0125-valid-palindrome
0151-reverse-words-in-a-string
0242-valid-anagram

Trie

0014-longest-common-prefix

Sorting

0015-3sum
0018-4sum
0056-merge-intervals
0075-sort-colors
0088-merge-sorted-array
0169-majority-element
0242-valid-anagram

Dynamic Programming

0053-maximum-subarray
0121-best-time-to-buy-and-sell-stock
1411-number-of-ways-to-paint-n-3-grid
1458-max-dot-product-of-two-subsequences

Tree

1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree

Depth-First Search

1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree

Breadth-First Search

1161-maximum-level-sum-of-a-binary-tree

Binary Tree

1161-maximum-level-sum-of-a-binary-tree
1339-maximum-product-of-splitted-binary-tree

Divide and Conquer

0053-maximum-subarray
0169-majority-element

Counting

0169-majority-element

Matrix

0074-search-a-2d-matrix
2965-find-missing-and-repeated-values

Linked List

0002-add-two-numbers

Recursion

0002-add-two-numbers
0050-powx-n

Bit Manipulation

0136-single-number

Greedy

0011-container-with-most-water

About

all the dsa question i solved in 2026

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages