Skip to content
ritish97Public

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

354 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

code

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

LeetCode Topics

Math

0009-palindrome-number
0048-rotate-image
0069-sqrtx
0189-rotate-array
0204-count-primes
0507-perfect-number
0509-fibonacci-number
1903-largest-odd-number-in-string

Two Pointers

0015-3sum
0026-remove-duplicates-from-sorted-array
0031-next-permutation
0075-sort-colors
0125-valid-palindrome
0151-reverse-words-in-a-string
0189-rotate-array
0283-move-zeroes
2149-rearrange-array-elements-by-sign

String

0014-longest-common-prefix
0125-valid-palindrome
0151-reverse-words-in-a-string
0205-isomorphic-strings
0242-valid-anagram
0387-first-unique-character-in-a-string
0796-rotate-string
1021-remove-outermost-parentheses
1903-largest-odd-number-in-string

Dynamic Programming

0053-maximum-subarray
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0410-split-array-largest-sum
0509-fibonacci-number

Recursion

0509-fibonacci-number

Memoization

0509-fibonacci-number

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0014-longest-common-prefix
0015-3sum
0026-remove-duplicates-from-sorted-array
0031-next-permutation
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0048-rotate-image
0053-maximum-subarray
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0075-sort-colors
0081-search-in-rotated-sorted-array-ii
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0136-single-number
0153-find-minimum-in-rotated-sorted-array
0162-find-peak-element
0169-majority-element
0189-rotate-array
0204-count-primes
0229-majority-element-ii
0240-search-a-2d-matrix-ii
0283-move-zeroes
0410-split-array-largest-sum
0485-max-consecutive-ones
0540-single-element-in-a-sorted-array
0704-binary-search
0875-koko-eating-bananas
1011-capacity-to-ship-packages-within-d-days
1283-find-the-smallest-divisor-given-a-threshold
1482-minimum-number-of-days-to-make-m-bouquets
1539-kth-missing-positive-number
1752-check-if-array-is-sorted-and-rotated
1901-find-a-peak-element-ii
2149-rearrange-array-elements-by-sign

Bit Manipulation

0136-single-number

Database

0584-find-customer-referee
1757-recyclable-and-low-fat-products

Hash Table

0001-two-sum
0073-set-matrix-zeroes
0169-majority-element
0205-isomorphic-strings
0229-majority-element-ii
0242-valid-anagram
0387-first-unique-character-in-a-string

Sorting

0015-3sum
0075-sort-colors
0169-majority-element
0229-majority-element-ii
0242-valid-anagram

Quicksort

0075-sort-colors

Bubble Sort

0075-sort-colors

Divide and Conquer

0004-median-of-two-sorted-arrays
0053-maximum-subarray
0169-majority-element
0240-search-a-2d-matrix-ii

Counting

0169-majority-element
0229-majority-element-ii
0387-first-unique-character-in-a-string

Boyer–Moore Majority Vote Algorithm

0169-majority-element
0229-majority-element-ii

Simulation

2149-rearrange-array-elements-by-sign

Matrix

0048-rotate-image
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0240-search-a-2d-matrix-ii
1901-find-a-peak-element-ii

Binary Search

0004-median-of-two-sorted-arrays
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0069-sqrtx
0074-search-a-2d-matrix
0081-search-in-rotated-sorted-array-ii
0153-find-minimum-in-rotated-sorted-array
0162-find-peak-element
0240-search-a-2d-matrix-ii
0410-split-array-largest-sum
0540-single-element-in-a-sorted-array
0704-binary-search
0875-koko-eating-bananas
1011-capacity-to-ship-packages-within-d-days
1283-find-the-smallest-divisor-given-a-threshold
1482-minimum-number-of-days-to-make-m-bouquets
1539-kth-missing-positive-number
1901-find-a-peak-element-ii

Newton's Method

0069-sqrtx

Greedy

0410-split-array-largest-sum
1903-largest-odd-number-in-string

Prefix Sum

0410-split-array-largest-sum

Stack

1021-remove-outermost-parentheses

Bracket Sequences

1021-remove-outermost-parentheses

Trie

0014-longest-common-prefix

String Matching

0796-rotate-string

Queue

0387-first-unique-character-in-a-string

Enumeration

0204-count-primes

Number Theory

0204-count-primes

Primality Test

0204-count-primes

Sieve Theory

0204-count-primes

Prime Number Sieve

0204-count-primes

Linked List

0237-delete-node-in-a-linked-list

About

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

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages