Skip to content

CodeHermez/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

215 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Array

0004-median-of-two-sorted-arrays
0027-remove-element
0039-combination-sum
0075-sort-colors
0118-pascals-triangle
0229-majority-element-ii
0759-set-intersection-size-at-least-two
0940-fruit-into-baskets
2229-maximum-fruits-harvested-after-at-most-k-steps
2503-longest-subarray-with-maximum-bitwise-and
2915-count-of-interesting-subarrays
3501-delete-nodes-from-linked-list-present-in-array
3616-make-array-elements-equal-to-zero
3748-sort-matrix-by-diagonals
3790-fruits-into-baskets-ii

Bit Manipulation

0231-power-of-two
0342-power-of-four
2503-longest-subarray-with-maximum-bitwise-and

Brainteaser

2503-longest-subarray-with-maximum-bitwise-and
3462-vowels-game-in-a-string

Math

0007-reverse-integer
0166-fraction-to-recurring-decimal
0231-power-of-two
0326-power-of-three
0342-power-of-four
0504-base-7
0900-reordered-power-of-2
1889-check-if-number-is-a-sum-of-powers-of-three
3462-vowels-game-in-a-string
3629-total-characters-in-string-after-transformations-i

Binary Search

0004-median-of-two-sorted-arrays
2229-maximum-fruits-harvested-after-at-most-k-steps
3790-fruits-into-baskets-ii

Divide and Conquer

0004-median-of-two-sorted-arrays

Hash Table

0166-fraction-to-recurring-decimal
0229-majority-element-ii
0900-reordered-power-of-2
0940-fruit-into-baskets
2915-count-of-interesting-subarrays
3501-delete-nodes-from-linked-list-present-in-array
3629-total-characters-in-string-after-transformations-i
3872-find-most-frequent-vowel-and-consonant

String

0166-fraction-to-recurring-decimal
0504-base-7
0812-rotate-string
0851-goat-latin
2346-largest-3-same-digit-number-in-string
3462-vowels-game-in-a-string
3617-find-the-original-typed-string-i
3629-total-characters-in-string-after-transformations-i
3872-find-most-frequent-vowel-and-consonant

Dynamic Programming

0118-pascals-triangle
3629-total-characters-in-string-after-transformations-i

Counting

0229-majority-element-ii
0900-reordered-power-of-2
3629-total-characters-in-string-after-transformations-i
3872-find-most-frequent-vowel-and-consonant

Two Pointers

0027-remove-element
0075-sort-colors

Sorting

0075-sort-colors
0229-majority-element-ii
0759-set-intersection-size-at-least-two
0900-reordered-power-of-2
3748-sort-matrix-by-diagonals

Sliding Window

0940-fruit-into-baskets
2229-maximum-fruits-harvested-after-at-most-k-steps

Prefix Sum

2229-maximum-fruits-harvested-after-at-most-k-steps
2915-count-of-interesting-subarrays
3616-make-array-elements-equal-to-zero

Segment Tree

3790-fruits-into-baskets-ii

Simulation

3616-make-array-elements-equal-to-zero
3790-fruits-into-baskets-ii

Ordered Set

3790-fruits-into-baskets-ii

Recursion

0231-power-of-two
0326-power-of-three
0342-power-of-four

Enumeration

0900-reordered-power-of-2

Backtracking

0039-combination-sum

Tree

0538-convert-bst-to-greater-tree

Depth-First Search

0538-convert-bst-to-greater-tree

Binary Search Tree

0538-convert-bst-to-greater-tree

Binary Tree

0538-convert-bst-to-greater-tree

String Matching

0812-rotate-string

Matrix

3748-sort-matrix-by-diagonals

Game Theory

3462-vowels-game-in-a-string

Linked List

3501-delete-nodes-from-linked-list-present-in-array

Greedy

0759-set-intersection-size-at-least-two

About

All my accepted LeetCode submissions are auto committed in this repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors