Skip to content

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Notifications You must be signed in to change notification settings

M-62742/Leet-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leet-Code

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

LeetCode Topics

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0011-container-with-most-water
0015-3sum
0016-3sum-closest
0018-4sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0066-plus-one
0179-largest-number
0729-my-calendar-i
1002-maximum-width-ramp
1402-count-square-submatrices-with-all-ones
1694-make-sum-divisible-by-p
1766-minimum-number-of-removals-to-make-mountain-array
1923-sentence-similarity-iii
2454-largest-local-values-in-a-matrix
2494-sum-of-prefix-scores-of-strings
2581-divide-players-into-teams-of-equal-skill
2586-longest-square-streak-in-an-array
2695-find-score-of-an-array-after-marking-all-elements

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0012-integer-to-roman
0013-roman-to-integer
0017-letter-combinations-of-a-phone-number
0202-happy-number
0920-uncommon-words-from-two-sentences
1694-make-sum-divisible-by-p
2581-divide-players-into-teams-of-equal-skill
2586-longest-square-streak-in-an-array
2695-find-score-of-an-array-after-marking-all-elements

Math

0002-add-two-numbers
0007-reverse-integer
0009-palindrome-number
0012-integer-to-roman
0013-roman-to-integer
0066-plus-one
0202-happy-number
0241-different-ways-to-add-parentheses

String

0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0006-zigzag-conversion
0008-string-to-integer-atoi
0010-regular-expression-matching
0012-integer-to-roman
0013-roman-to-integer
0014-longest-common-prefix
0017-letter-combinations-of-a-phone-number
0020-valid-parentheses
0022-generate-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0179-largest-number
0241-different-ways-to-add-parentheses
0812-rotate-string
0920-uncommon-words-from-two-sentences
0957-minimum-add-to-make-parentheses-valid
1302-delete-characters-to-make-fancy-string
1923-sentence-similarity-iii
2494-sum-of-prefix-scores-of-strings
2580-circular-sentence

Binary Search

0004-median-of-two-sorted-arrays
0035-search-insert-position
0729-my-calendar-i
1766-minimum-number-of-removals-to-make-mountain-array
2586-longest-square-streak-in-an-array

Divide and Conquer

0004-median-of-two-sorted-arrays

Greedy

0011-container-with-most-water
0179-largest-number
0957-minimum-add-to-make-parentheses-valid
1766-minimum-number-of-removals-to-make-mountain-array

Sorting

0015-3sum
0016-3sum-closest
0018-4sum
0179-largest-number
2581-divide-players-into-teams-of-equal-skill
2586-longest-square-streak-in-an-array
2695-find-score-of-an-array-after-marking-all-elements

Dynamic Programming

0005-longest-palindromic-substring
0010-regular-expression-matching
0022-generate-parentheses
0241-different-ways-to-add-parentheses
1402-count-square-submatrices-with-all-ones
1766-minimum-number-of-removals-to-make-mountain-array
2586-longest-square-streak-in-an-array

Recursion

0002-add-two-numbers
0010-regular-expression-matching
0021-merge-two-sorted-lists
0024-swap-nodes-in-pairs
0241-different-ways-to-add-parentheses

Memoization

0241-different-ways-to-add-parentheses

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0024-swap-nodes-in-pairs

Sliding Window

0003-longest-substring-without-repeating-characters

Two Pointers

0005-longest-palindromic-substring
0011-container-with-most-water
0015-3sum
0016-3sum-closest
0018-4sum
0019-remove-nth-node-from-end-of-list
0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0202-happy-number
1923-sentence-similarity-iii
2581-divide-players-into-teams-of-equal-skill

Trie

0014-longest-common-prefix
2494-sum-of-prefix-scores-of-strings

Counting

0920-uncommon-words-from-two-sentences
2494-sum-of-prefix-scores-of-strings

Design

0729-my-calendar-i

Segment Tree

0729-my-calendar-i

Ordered Set

0729-my-calendar-i

Backtracking

0017-letter-combinations-of-a-phone-number
0022-generate-parentheses

Prefix Sum

1694-make-sum-divisible-by-p

Matrix

1402-count-square-submatrices-with-all-ones
2454-largest-local-values-in-a-matrix

Stack

0020-valid-parentheses
0957-minimum-add-to-make-parentheses-valid
1002-maximum-width-ramp

Monotonic Stack

1002-maximum-width-ramp

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string
0812-rotate-string

Heap (Priority Queue)

2695-find-score-of-an-array-after-marking-all-elements

Simulation

2695-find-score-of-an-array-after-marking-all-elements

About

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published