Skip to content

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

KrishnaSriTarun/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcode

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
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0042-trapping-rain-water
0048-rotate-image
0053-maximum-subarray
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
0217-contains-duplicate
0238-product-of-array-except-self
0268-missing-number
0283-move-zeroes
0932-monotonic-array
0948-sort-an-array
1603-running-sum-of-1d-array
1677-matrix-diagonal-sum
1781-check-if-two-string-arrays-are-equivalent
1833-find-the-highest-altitude
2042-maximum-product-difference-between-two-pairs
2058-concatenation-of-array
2350-find-closest-number-to-zero
2502-sort-the-people
2836-neither-minimum-nor-maximum
3227-find-missing-and-repeated-values

Math

0048-rotate-image
0050-powx-n
0066-plus-one
0231-power-of-two
0268-missing-number
0412-fizz-buzz
1013-fibonacci-number
3227-find-missing-and-repeated-values

Matrix

0048-rotate-image
0074-search-a-2d-matrix
1677-matrix-diagonal-sum
3227-find-missing-and-repeated-values

Two Pointers

0011-container-with-most-water
0019-remove-nth-node-from-end-of-list
0026-remove-duplicates-from-sorted-array
0027-remove-element
0042-trapping-rain-water
0075-sort-colors
0088-merge-sorted-array
0125-valid-palindrome
0141-linked-list-cycle
0151-reverse-words-in-a-string
0234-palindrome-linked-list
0283-move-zeroes
0344-reverse-string
0345-reverse-vowels-of-a-string
0443-string-compression
0908-middle-of-the-linked-list
0953-reverse-only-letters
1894-merge-strings-alternately
2216-delete-the-middle-node-of-a-linked-list
2236-maximum-twin-sum-of-a-linked-list

Dynamic Programming

0042-trapping-rain-water
0053-maximum-subarray
0121-best-time-to-buy-and-sell-stock
1013-fibonacci-number

Stack

0020-valid-parentheses
0042-trapping-rain-water
0234-palindrome-linked-list
2236-maximum-twin-sum-of-a-linked-list
2470-removing-stars-from-a-string
2573-remove-nodes-from-linked-list

Monotonic Stack

0042-trapping-rain-water
2573-remove-nodes-from-linked-list

Hash Table

0001-two-sum
0141-linked-list-cycle
0169-majority-element
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
2502-sort-the-people
3227-find-missing-and-repeated-values
3412-permutation-difference-between-two-strings

Database

0584-find-customer-referee
0595-big-countries
1258-article-views-i
1827-invalid-tweets
1908-recyclable-and-low-fat-products

Simulation

0412-fizz-buzz
2058-concatenation-of-array
2076-sum-of-digits-of-string-after-convert
2470-removing-stars-from-a-string

Prefix Sum

0238-product-of-array-except-self
1603-running-sum-of-1d-array
1833-find-the-highest-altitude

Recursion

0021-merge-two-sorted-lists
0050-powx-n
0203-remove-linked-list-elements
0206-reverse-linked-list
0231-power-of-two
0234-palindrome-linked-list
1013-fibonacci-number
2573-remove-nodes-from-linked-list

Memoization

1013-fibonacci-number

String

0020-valid-parentheses
0125-valid-palindrome
0151-reverse-words-in-a-string
0242-valid-anagram
0344-reverse-string
0345-reverse-vowels-of-a-string
0412-fizz-buzz
0443-string-compression
0520-detect-capital
0742-to-lower-case
0812-rotate-string
0953-reverse-only-letters
1302-delete-characters-to-make-fancy-string
1781-check-if-two-string-arrays-are-equivalent
1894-merge-strings-alternately
2076-sum-of-digits-of-string-after-convert
2470-removing-stars-from-a-string
2502-sort-the-people
2580-circular-sentence
3379-score-of-a-string
3412-permutation-difference-between-two-strings

Sorting

0075-sort-colors
0088-merge-sorted-array
0169-majority-element
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0948-sort-an-array
2042-maximum-product-difference-between-two-pairs
2502-sort-the-people
2836-neither-minimum-nor-maximum

Binary Search

0004-median-of-two-sorted-arrays
0035-search-insert-position
0074-search-a-2d-matrix
0268-missing-number

Bit Manipulation

0136-single-number
0231-power-of-two
0268-missing-number

Divide and Conquer

0004-median-of-two-sorted-arrays
0053-maximum-subarray
0169-majority-element
0948-sort-an-array

Greedy

0011-container-with-most-water

Linked List

0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0141-linked-list-cycle
0203-remove-linked-list-elements
0206-reverse-linked-list
0234-palindrome-linked-list
0237-delete-node-in-a-linked-list
0328-odd-even-linked-list
0908-middle-of-the-linked-list
2216-delete-the-middle-node-of-a-linked-list
2236-maximum-twin-sum-of-a-linked-list
2573-remove-nodes-from-linked-list

Counting

0169-majority-element

Heap (Priority Queue)

0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

String Matching

0812-rotate-string

About

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