Skip to content

CodeWithDevesh/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Hash Table

0001-two-sum
0012-integer-to-roman
0169-majority-element
0268-missing-number
0451-sort-characters-by-frequency

Math

0007-reverse-integer
0012-integer-to-roman
0070-climbing-stairs
0268-missing-number
1817-calculate-money-in-leetcode-bank
1939-queries-on-number-of-points-inside-a-circle
2032-largest-odd-number-in-string

String

0012-integer-to-roman
0151-reverse-words-in-a-string
0451-sort-characters-by-frequency
0812-rotate-string
1078-remove-outermost-parentheses
2032-largest-odd-number-in-string

Dynamic Programming

0053-maximum-subarray
0070-climbing-stairs
0121-best-time-to-buy-and-sell-stock
0198-house-robber

Memoization

0070-climbing-stairs

Array

0001-two-sum
0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0053-maximum-subarray
0075-sort-colors
0121-best-time-to-buy-and-sell-stock
0136-single-number
0169-majority-element
0198-house-robber
0268-missing-number
0283-move-zeroes
1878-check-if-array-is-sorted-and-rotated
1939-queries-on-number-of-points-inside-a-circle
2265-partition-array-according-to-given-pivot
2271-rearrange-array-elements-by-sign
2600-maximum-tastiness-of-candy-basket
2631-sort-the-students-by-their-kth-score
3639-zero-array-transformation-i

Two Pointers

0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0075-sort-colors
0151-reverse-words-in-a-string
0283-move-zeroes
2265-partition-array-according-to-given-pivot
2271-rearrange-array-elements-by-sign

Simulation

2265-partition-array-according-to-given-pivot
2271-rearrange-array-elements-by-sign

Prefix Sum

3639-zero-array-transformation-i

Sorting

0075-sort-colors
0169-majority-element
0268-missing-number
0451-sort-characters-by-frequency
2600-maximum-tastiness-of-candy-basket
2631-sort-the-students-by-their-kth-score

Matrix

2631-sort-the-students-by-their-kth-score

Geometry

1939-queries-on-number-of-points-inside-a-circle

Bit Manipulation

0136-single-number
0268-missing-number

Binary Search

0268-missing-number
2600-maximum-tastiness-of-candy-basket

Stack

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
1078-remove-outermost-parentheses

Tree

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Depth-First Search

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Binary Tree

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Divide and Conquer

0053-maximum-subarray
0169-majority-element

Counting

0169-majority-element
0451-sort-characters-by-frequency

Greedy

0011-container-with-most-water
2032-largest-odd-number-in-string
2600-maximum-tastiness-of-candy-basket

String Matching

0812-rotate-string

Heap (Priority Queue)

0451-sort-characters-by-frequency

Bucket Sort

0451-sort-characters-by-frequency

About

My LeetCode Solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages