Skip to content

Latest commit

 

History

History
157 lines (157 loc) · 10.9 KB

README.md

File metadata and controls

157 lines (157 loc) · 10.9 KB

A collection of LeetCode questions to ace the coding interviews! - Created using LeetHub 2.0 for Firefox

LeetCode Topics

Array

0027-remove-element
0031-next-permutation
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0042-trapping-rain-water
0048-rotate-image
0053-maximum-subarray
0088-merge-sorted-array
0118-pascals-triangle
0128-longest-consecutive-sequence
0134-gas-station
0135-candy
0136-single-number
0169-majority-element
0189-rotate-array
0238-product-of-array-except-self
0268-missing-number
0462-minimum-moves-to-equal-array-elements-ii
0485-max-consecutive-ones
0628-maximum-product-of-three-numbers
0792-binary-search
1878-check-if-array-is-sorted-and-rotated
2271-rearrange-array-elements-by-sign

Two Pointers

0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0031-next-permutation
0042-trapping-rain-water
0088-merge-sorted-array
0160-intersection-of-two-linked-lists
0189-rotate-array
0234-palindrome-linked-list
2271-rearrange-array-elements-by-sign

Sorting

0088-merge-sorted-array
0169-majority-element
0268-missing-number
0462-minimum-moves-to-equal-array-elements-ii
0628-maximum-product-of-three-numbers

Math

0012-integer-to-roman
0013-roman-to-integer
0048-rotate-image
0189-rotate-array
0268-missing-number
0462-minimum-moves-to-equal-array-elements-ii
0628-maximum-product-of-three-numbers

Hash Table

0012-integer-to-roman
0013-roman-to-integer
0128-longest-consecutive-sequence
0160-intersection-of-two-linked-lists
0169-majority-element
0268-missing-number

Binary Search

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0268-missing-number
0792-binary-search

Bit Manipulation

0136-single-number
0268-missing-number

Divide and Conquer

0053-maximum-subarray
0169-majority-element

Counting

0169-majority-element

Dynamic Programming

0042-trapping-rain-water
0053-maximum-subarray
0118-pascals-triangle

Simulation

2271-rearrange-array-elements-by-sign

Union Find

0128-longest-consecutive-sequence

Matrix

0048-rotate-image

String

0012-integer-to-roman
0013-roman-to-integer
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word

Stack

0020-valid-parentheses
0042-trapping-rain-water
0234-palindrome-linked-list

String Matching

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

Linked List

0021-merge-two-sorted-lists
0083-remove-duplicates-from-sorted-list
0160-intersection-of-two-linked-lists
0203-remove-linked-list-elements
0206-reverse-linked-list
0234-palindrome-linked-list

Recursion

0021-merge-two-sorted-lists
0203-remove-linked-list-elements
0206-reverse-linked-list
0234-palindrome-linked-list

Prefix Sum

0238-product-of-array-except-self

Greedy

0134-gas-station
0135-candy

Monotonic Stack

0042-trapping-rain-water