Skip to content

Shrikrishnan/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leet-code

Collection of LeetCode questions to ace the coding interview! - Created using LeetHub

LeetCode Topics

String

0010-regular-expression-matching
0013-roman-to-integer
0014-longest-common-prefix
0038-count-and-say
0812-rotate-string
1302-delete-characters-to-make-fancy-string
1524-string-matching-in-an-array
1537-maximum-score-after-splitting-a-string
1786-count-the-number-of-consistent-strings
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2059-unique-length-3-palindromic-subsequences
2465-shifting-letters-ii
2691-count-vowel-strings-in-ranges
3243-count-the-number-of-powerful-integers

Trie

0014-longest-common-prefix

Array

0026-remove-duplicates-from-sorted-array
0088-merge-sorted-array
0368-largest-divisible-subset
0407-trapping-rain-water-ii
0416-partition-equal-subset-sum
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1524-string-matching-in-an-array
1656-count-good-triplets
1786-count-the-number-of-consistent-strings
1876-map-of-highest-peak
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1993-sum-of-all-subset-xor-totals
2145-grid-game
2262-solving-questions-with-brainpower
2277-count-equal-and-divisible-pairs-in-an-array
2280-count-good-triplets-in-an-array
2358-number-of-ways-to-split-array
2465-shifting-letters-ii
2533-bitwise-xor-of-all-pairings
2626-count-the-number-of-good-subarrays
2685-first-completely-painted-row-or-column
2691-count-vowel-strings-in-ranges
3152-maximum-value-of-an-ordered-triplet-ii
3154-maximum-value-of-an-ordered-triplet-i
3219-make-lexicographically-smallest-array-by-swapping-elements
3621-minimum-operations-to-make-array-values-equal-to-k

Two Pointers

0026-remove-duplicates-from-sorted-array
0088-merge-sorted-array

Sorting

0088-merge-sorted-array
0368-largest-divisible-subset
3219-make-lexicographically-smallest-array-by-swapping-elements

Tree

0102-binary-tree-level-order-traversal
1218-lowest-common-ancestor-of-deepest-leaves
3058-maximum-number-of-k-divisible-components

Breadth-First Search

0102-binary-tree-level-order-traversal
0407-trapping-rain-water-ii
1218-lowest-common-ancestor-of-deepest-leaves
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1876-map-of-highest-peak

Binary Tree

0102-binary-tree-level-order-traversal
1218-lowest-common-ancestor-of-deepest-leaves

Database

0175-combine-two-tables
0584-find-customer-referee
0595-big-countries
1908-recyclable-and-low-fat-products

Linked List

0002-add-two-numbers

Math

0002-add-two-numbers
0009-palindrome-number
0013-roman-to-integer
0368-largest-divisible-subset
1993-sum-of-all-subset-xor-totals
2383-add-two-integers
2998-count-symmetric-integers
3201-distribute-candies-among-children-ii
3243-count-the-number-of-powerful-integers
3548-find-the-count-of-good-integers

Recursion

0002-add-two-numbers
0010-regular-expression-matching

Hash Table

0013-roman-to-integer
1218-lowest-common-ancestor-of-deepest-leaves
1786-count-the-number-of-consistent-strings
2059-unique-length-3-palindromic-subsequences
2626-count-the-number-of-good-subarrays
2685-first-completely-painted-row-or-column
3548-find-the-count-of-good-integers
3621-minimum-operations-to-make-array-values-equal-to-k

Bit Manipulation

1786-count-the-number-of-consistent-strings
1993-sum-of-all-subset-xor-totals
2059-unique-length-3-palindromic-subsequences
2509-minimize-xor
2533-bitwise-xor-of-all-pairings

Counting

1786-count-the-number-of-consistent-strings

Dynamic Programming

0010-regular-expression-matching
0368-largest-divisible-subset
0416-partition-equal-subset-sum
2262-solving-questions-with-brainpower
3243-count-the-number-of-powerful-integers

String Matching

0812-rotate-string
1524-string-matching-in-an-array

Depth-First Search

1218-lowest-common-ancestor-of-deepest-leaves
3058-maximum-number-of-k-divisible-components

Prefix Sum

1537-maximum-score-after-splitting-a-string
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2059-unique-length-3-palindromic-subsequences
2145-grid-game
2358-number-of-ways-to-split-array
2465-shifting-letters-ii
2691-count-vowel-strings-in-ranges

Greedy

2509-minimize-xor

Brainteaser

2533-bitwise-xor-of-all-pairings

Graph

1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Heap (Priority Queue)

0407-trapping-rain-water-ii
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Matrix

0407-trapping-rain-water-ii
1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid
1876-map-of-highest-peak
2145-grid-game
2685-first-completely-painted-row-or-column

Shortest Path

1485-minimum-cost-to-make-at-least-one-valid-path-in-a-grid

Union Find

3219-make-lexicographically-smallest-array-by-swapping-elements

Backtracking

1993-sum-of-all-subset-xor-totals

Combinatorics

1993-sum-of-all-subset-xor-totals
3201-distribute-candies-among-children-ii
3548-find-the-count-of-good-integers

Enumeration

1656-count-good-triplets
1993-sum-of-all-subset-xor-totals
2998-count-symmetric-integers
3201-distribute-candies-among-children-ii
3548-find-the-count-of-good-integers

Binary Search

2280-count-good-triplets-in-an-array

Divide and Conquer

2280-count-good-triplets-in-an-array

Binary Indexed Tree

2280-count-good-triplets-in-an-array

Segment Tree

2280-count-good-triplets-in-an-array

Merge Sort

2280-count-good-triplets-in-an-array

Ordered Set

2280-count-good-triplets-in-an-array

Sliding Window

2626-count-the-number-of-good-subarrays

About

Collection of LeetCode questions to ace the coding interview!

Topics

Resources

Stars

Watchers

Forks

Languages