Skip to content

kumara1917/Leetcode_Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode_Solutions

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
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0066-plus-one
0088-merge-sorted-array
0136-single-number
0152-maximum-product-subarray
0169-majority-element
0217-contains-duplicate
0268-missing-number
0283-move-zeroes
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0414-third-maximum-number
0500-keyboard-row
0697-degree-of-an-array
0830-largest-triangle-area
0841-shortest-distance-to-a-character
1018-largest-perimeter-triangle
2195-time-needed-to-buy-tickets
2265-partition-array-according-to-given-pivot
2551-apply-operations-to-an-array
2707-merge-two-2d-arrays-by-summing-values
2836-neither-minimum-nor-maximum
3194-find-words-containing-character

String

0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0067-add-binary
0125-valid-palindrome
0168-excel-sheet-column-title
0171-excel-sheet-column-number
0205-isomorphic-strings
0242-valid-anagram
0344-reverse-string
0345-reverse-vowels-of-a-string
0387-first-unique-character-in-a-string
0389-find-the-difference
0392-is-subsequence
0409-longest-palindrome
0412-fizz-buzz
0415-add-strings
0434-number-of-segments-in-a-string
0500-keyboard-row
0520-detect-capital
0680-valid-palindrome-ii
0742-to-lower-case
0841-shortest-distance-to-a-character
1260-day-of-the-year
1264-maximum-number-of-words-you-can-type
1302-delete-characters-to-make-fancy-string
1915-check-if-one-string-swap-can-make-strings-equal
2053-check-if-all-characters-have-equal-number-of-occurrences
3194-find-words-containing-character

Hash Table

0001-two-sum
0013-roman-to-integer
0169-majority-element
0202-happy-number
0205-isomorphic-strings
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0387-first-unique-character-in-a-string
0389-find-the-difference
0409-longest-palindrome
0500-keyboard-row
0697-degree-of-an-array
1264-maximum-number-of-words-you-can-type
1500-count-largest-group
1915-check-if-one-string-swap-can-make-strings-equal
2053-check-if-all-characters-have-equal-number-of-occurrences
2707-merge-two-2d-arrays-by-summing-values

Binary Search

0004-median-of-two-sorted-arrays
0035-search-insert-position
0069-sqrtx
0222-count-complete-tree-nodes
0268-missing-number
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0367-valid-perfect-square

Divide and Conquer

0004-median-of-two-sorted-arrays
0169-majority-element
0191-number-of-1-bits

Math

0009-palindrome-number
0013-roman-to-integer
0029-divide-two-integers
0050-powx-n
0066-plus-one
0067-add-binary
0069-sqrtx
0070-climbing-stairs
0168-excel-sheet-column-title
0171-excel-sheet-column-number
0202-happy-number
0231-power-of-two
0258-add-digits
0263-ugly-number
0268-missing-number
0326-power-of-three
0342-power-of-four
0367-valid-perfect-square
0405-convert-a-number-to-hexadecimal
0412-fizz-buzz
0415-add-strings
0504-base-7
0507-perfect-number
0728-self-dividing-numbers
0830-largest-triangle-area
1013-fibonacci-number
1018-largest-perimeter-triangle
1086-divisor-game
1260-day-of-the-year
1500-count-largest-group
2083-three-divisors
2298-count-integers-with-even-digit-sum
2556-convert-the-temperature

Trie

0014-longest-common-prefix

Stack

0020-valid-parentheses
0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Linked List

0021-merge-two-sorted-lists
0083-remove-duplicates-from-sorted-list

Recursion

0021-merge-two-sorted-lists
0050-powx-n
0231-power-of-two
0326-power-of-three
0342-power-of-four
1013-fibonacci-number

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0088-merge-sorted-array
0125-valid-palindrome
0202-happy-number
0283-move-zeroes
0344-reverse-string
0345-reverse-vowels-of-a-string
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0392-is-subsequence
0680-valid-palindrome-ii
0841-shortest-distance-to-a-character
2265-partition-array-according-to-given-pivot
2551-apply-operations-to-an-array
2707-merge-two-2d-arrays-by-summing-values

String Matching

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

Bit Manipulation

0029-divide-two-integers
0067-add-binary
0136-single-number
0191-number-of-1-bits
0222-count-complete-tree-nodes
0231-power-of-two
0268-missing-number
0338-counting-bits
0342-power-of-four
0389-find-the-difference
0405-convert-a-number-to-hexadecimal

Simulation

0067-add-binary
0258-add-digits
0412-fizz-buzz
0415-add-strings
2195-time-needed-to-buy-tickets
2265-partition-array-according-to-given-pivot
2298-count-integers-with-even-digit-sum
2551-apply-operations-to-an-array

Dynamic Programming

0070-climbing-stairs
0152-maximum-product-subarray
0338-counting-bits
0392-is-subsequence
1013-fibonacci-number
1086-divisor-game

Memoization

0070-climbing-stairs
1013-fibonacci-number

Sorting

0088-merge-sorted-array
0169-majority-element
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0389-find-the-difference
0414-third-maximum-number
1018-largest-perimeter-triangle
2836-neither-minimum-nor-maximum

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes
0226-invert-binary-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes
0226-invert-binary-tree

Breadth-First Search

0100-same-tree
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Counting

0169-majority-element
0387-first-unique-character-in-a-string
1915-check-if-one-string-swap-can-make-strings-equal
2053-check-if-all-characters-have-equal-number-of-occurrences

Database

0175-combine-two-tables
0181-employees-earning-more-than-their-managers
0182-duplicate-emails
0183-customers-who-never-order
0196-delete-duplicate-emails
0577-employee-bonus
0584-find-customer-referee
0586-customer-placing-the-largest-number-of-orders
0595-big-countries
0596-classes-more-than-5-students
0610-triangle-judgement
0619-biggest-single-number
0620-not-boring-movies
0627-swap-salary
1827-invalid-tweets

Number Theory

0258-add-digits
2083-three-divisors

Queue

0387-first-unique-character-in-a-string
2195-time-needed-to-buy-tickets

Greedy

0409-longest-palindrome
0680-valid-palindrome-ii
1018-largest-perimeter-triangle

Geometry

0830-largest-triangle-area

Brainteaser

1086-divisor-game

Game Theory

1086-divisor-game

Enumeration

2083-three-divisors

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