Skip to content

Vinod-07/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

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

String

0022-generate-parentheses
0344-reverse-string
0345-reverse-vowels-of-a-string
0541-reverse-string-ii
0557-reverse-words-in-a-string-iii
0696-count-binary-substrings
0841-shortest-distance-to-a-character
1430-find-the-k-beauty-of-a-number
3194-find-words-containing-character

Dynamic Programming

0022-generate-parentheses

Backtracking

0022-generate-parentheses

Math

0231-power-of-two
1430-find-the-k-beauty-of-a-number

Bit Manipulation

0231-power-of-two

Recursion

0231-power-of-two

Array

0643-maximum-average-subarray-i
0841-shortest-distance-to-a-character
0941-sort-array-by-parity
0958-sort-array-by-parity-ii
1168-duplicate-zeros
1486-find-the-distance-value-between-two-arrays
1755-defuse-the-bomb
3154-maximum-value-of-an-ordered-triplet-i
3194-find-words-containing-character

Sliding Window

0643-maximum-average-subarray-i
1430-find-the-k-beauty-of-a-number
1755-defuse-the-bomb

Two Pointers

0344-reverse-string
0345-reverse-vowels-of-a-string
0541-reverse-string-ii
0557-reverse-words-in-a-string-iii
0696-count-binary-substrings
0841-shortest-distance-to-a-character
0941-sort-array-by-parity
0958-sort-array-by-parity-ii
1168-duplicate-zeros
1486-find-the-distance-value-between-two-arrays

Sorting

0941-sort-array-by-parity
0958-sort-array-by-parity-ii
1486-find-the-distance-value-between-two-arrays

Binary Search

1486-find-the-distance-value-between-two-arrays

LeetCode Topics

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0033-search-in-rotated-sorted-array
0066-plus-one
0088-merge-sorted-array
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0134-gas-station
0152-maximum-product-subarray
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0189-rotate-array
0217-contains-duplicate
0219-contains-duplicate-ii
0229-majority-element-ii
0238-product-of-array-except-self
0268-missing-number
0274-h-index
0283-move-zeroes
0303-range-sum-query-immutable
0334-increasing-triplet-subsequence
0448-find-all-numbers-disappeared-in-an-array
0453-minimum-moves-to-equal-array-elements
0455-assign-cookies
0500-keyboard-row
0605-can-place-flowers
0628-maximum-product-of-three-numbers
0822-unique-morse-code-words
0890-lemonade-change
0979-di-string-match
1018-largest-perimeter-triangle
1062-partition-array-into-three-parts-with-equal-sum
1256-rank-transform-of-an-array
1329-minimum-cost-to-move-chips-to-the-same-position
1482-how-many-numbers-are-smaller-than-the-current-number
1486-find-the-distance-value-between-two-arrays
1514-minimum-value-to-get-positive-step-by-step-sum
1528-kids-with-the-greatest-number-of-candies
1829-maximum-units-on-a-truck
2714-left-and-right-sum-differences

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0088-merge-sorted-array
0125-valid-palindrome
0151-reverse-words-in-a-string
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0283-move-zeroes
0392-is-subsequence
0455-assign-cookies
0979-di-string-match
1486-find-the-distance-value-between-two-arrays
1894-merge-strings-alternately

Binary Search

0033-search-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0268-missing-number
0278-first-bad-version
0367-valid-perfect-square
1486-find-the-distance-value-between-two-arrays

Sorting

0088-merge-sorted-array
0169-majority-element
0217-contains-duplicate
0229-majority-element-ii
0268-missing-number
0274-h-index
0389-find-the-difference
0455-assign-cookies
0628-maximum-product-of-three-numbers
1018-largest-perimeter-triangle
1256-rank-transform-of-an-array
1482-how-many-numbers-are-smaller-than-the-current-number
1486-find-the-distance-value-between-two-arrays
1829-maximum-units-on-a-truck

Math

0009-palindrome-number
0013-roman-to-integer
0066-plus-one
0171-excel-sheet-column-number
0189-rotate-array
0258-add-digits
0263-ugly-number
0268-missing-number
0292-nim-game
0326-power-of-three
0342-power-of-four
0367-valid-perfect-square
0405-convert-a-number-to-hexadecimal
0412-fizz-buzz
0453-minimum-moves-to-equal-array-elements
0628-maximum-product-of-three-numbers
1018-largest-perimeter-triangle
1146-greatest-common-divisor-of-strings
1329-minimum-cost-to-move-chips-to-the-same-position
1448-maximum-69-number
2083-three-divisors
2238-a-number-after-a-double-reversal

Greedy

0122-best-time-to-buy-and-sell-stock-ii
0134-gas-station
0334-increasing-triplet-subsequence
0409-longest-palindrome
0455-assign-cookies
0605-can-place-flowers
0890-lemonade-change
0979-di-string-match
1018-largest-perimeter-triangle
1062-partition-array-into-three-parts-with-equal-sum
1329-minimum-cost-to-move-chips-to-the-same-position
1448-maximum-69-number
1829-maximum-units-on-a-truck
1858-latest-time-by-replacing-hidden-digits

Hash Table

0001-two-sum
0013-roman-to-integer
0169-majority-element
0217-contains-duplicate
0219-contains-duplicate-ii
0229-majority-element-ii
0268-missing-number
0387-first-unique-character-in-a-string
0389-find-the-difference
0409-longest-palindrome
0448-find-all-numbers-disappeared-in-an-array
0500-keyboard-row
0822-unique-morse-code-words
1256-rank-transform-of-an-array
1482-how-many-numbers-are-smaller-than-the-current-number
2427-first-letter-to-appear-twice

String

0013-roman-to-integer
0014-longest-common-prefix
0058-length-of-last-word
0125-valid-palindrome
0151-reverse-words-in-a-string
0171-excel-sheet-column-number
0387-first-unique-character-in-a-string
0389-find-the-difference
0392-is-subsequence
0409-longest-palindrome
0412-fizz-buzz
0434-number-of-segments-in-a-string
0482-license-key-formatting
0500-keyboard-row
0520-detect-capital
0521-longest-uncommon-subsequence-i
0551-student-attendance-record-i
0657-robot-return-to-origin
0742-to-lower-case
0822-unique-morse-code-words
0851-goat-latin
0979-di-string-match
1146-greatest-common-divisor-of-strings
1858-latest-time-by-replacing-hidden-digits
1894-merge-strings-alternately
2427-first-letter-to-appear-twice

Queue

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

Counting

0169-majority-element
0229-majority-element-ii
0387-first-unique-character-in-a-string
1482-how-many-numbers-are-smaller-than-the-current-number
2427-first-letter-to-appear-twice

Bit Manipulation

0268-missing-number
0342-power-of-four
0389-find-the-difference
0405-convert-a-number-to-hexadecimal
2427-first-letter-to-appear-twice

Simulation

0258-add-digits
0412-fizz-buzz
0657-robot-return-to-origin

Trie

0014-longest-common-prefix

Design

0303-range-sum-query-immutable

Prefix Sum

0238-product-of-array-except-self
0303-range-sum-query-immutable
1514-minimum-value-to-get-positive-step-by-step-sum
2714-left-and-right-sum-differences

Interactive

0278-first-bad-version

Brainteaser

0292-nim-game

Game Theory

0292-nim-game

Divide and Conquer

0169-majority-element

Dynamic Programming

0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0152-maximum-product-subarray
0392-is-subsequence

Sliding Window

0219-contains-duplicate-ii

Linked List

0083-remove-duplicates-from-sorted-list

Counting Sort

0274-h-index

Number Theory

0258-add-digits
2083-three-divisors

Recursion

0326-power-of-three
0342-power-of-four

Enumeration

2083-three-divisors

Database

0175-combine-two-tables
0181-employees-earning-more-than-their-managers
0182-duplicate-emails
0196-delete-duplicate-emails
0197-rising-temperature
0584-find-customer-referee
0595-big-countries
0596-classes-more-than-5-students
0620-not-boring-movies
1153-product-sales-analysis-i
1258-article-views-i
1390-average-selling-price
1415-students-and-examinations
1509-replace-employee-id-with-the-unique-identifier
1664-find-users-with-valid-e-mails
1724-customer-who-visited-but-did-not-make-any-transactions
1811-fix-names-in-a-table
1827-invalid-tweets
1908-recyclable-and-low-fat-products
1942-primary-department-for-each-employee
2127-employees-whose-manager-left-the-company
2495-number-of-unique-subjects-taught-by-each-teacher

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