Skip to content

Showing my coding skills through the leetcode platform

Notifications You must be signed in to change notification settings

RAGAV-24/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

Leetcode Stats

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0042-trapping-rain-water
0045-jump-game-ii
0048-rotate-image
0053-maximum-subarray
0054-spiral-matrix
0055-jump-game
0059-spiral-matrix-ii
0066-plus-one
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0075-sort-colors
0121-best-time-to-buy-and-sell-stock
0135-candy
0136-single-number
0204-count-primes
0217-contains-duplicate
0219-contains-duplicate-ii
0229-majority-element-ii
0238-product-of-array-except-self
0268-missing-number
0303-range-sum-query-immutable
0350-intersection-of-two-arrays-ii
0414-third-maximum-number
0448-find-all-numbers-disappeared-in-an-array
0485-max-consecutive-ones
0486-predict-the-winner
0566-reshape-the-matrix
0718-maximum-length-of-repeated-subarray
0735-asteroid-collision
0792-binary-search
1256-rank-transform-of-an-array
1755-defuse-the-bomb
1786-count-the-number-of-consistent-strings
2113-find-the-kth-largest-integer-in-the-array
2148-minimum-number-of-moves-to-seat-everyone
2486-most-frequent-even-element
2503-longest-subarray-with-maximum-bitwise-and
2917-count-pairs-whose-sum-is-less-than-target

Hash Table

0001-two-sum
0073-set-matrix-zeroes
0187-repeated-dna-sequences
0205-isomorphic-strings
0217-contains-duplicate
0219-contains-duplicate-ii
0229-majority-element-ii
0268-missing-number
0350-intersection-of-two-arrays-ii
0389-find-the-difference
0398-random-pick-index
0409-longest-palindrome
0448-find-all-numbers-disappeared-in-an-array
0567-permutation-in-string
0920-uncommon-words-from-two-sentences
1256-rank-transform-of-an-array
1786-count-the-number-of-consistent-strings
1987-substrings-of-size-three-with-distinct-characters
2486-most-frequent-even-element

Sorting

0075-sort-colors
0217-contains-duplicate
0229-majority-element-ii
0268-missing-number
0350-intersection-of-two-arrays-ii
0389-find-the-difference
0414-third-maximum-number
1256-rank-transform-of-an-array
2113-find-the-kth-largest-integer-in-the-array
2148-minimum-number-of-moves-to-seat-everyone
2917-count-pairs-whose-sum-is-less-than-target

Sliding Window

0187-repeated-dna-sequences
0219-contains-duplicate-ii
0567-permutation-in-string
0718-maximum-length-of-repeated-subarray
1755-defuse-the-bomb
1987-substrings-of-size-three-with-distinct-characters

Two Pointers

0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0027-remove-element
0042-trapping-rain-water
0075-sort-colors
0344-reverse-string
0350-intersection-of-two-arrays-ii
0567-permutation-in-string
0696-count-binary-substrings
0874-backspace-string-compare
2095-minimum-number-of-swaps-to-make-the-string-balanced
2917-count-pairs-whose-sum-is-less-than-target

Math

0048-rotate-image
0066-plus-one
0204-count-primes
0258-add-digits
0268-missing-number
0273-integer-to-english-words
0371-sum-of-two-integers
0398-random-pick-index
0405-convert-a-number-to-hexadecimal
0415-add-strings
0486-predict-the-winner
1585-the-kth-factor-of-n
3568-find-the-key-of-the-numbers

Matrix

0048-rotate-image
0054-spiral-matrix
0059-spiral-matrix-ii
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0566-reshape-the-matrix

Linked List

1484-linked-list-in-binary-tree

Tree

1484-linked-list-in-binary-tree

Depth-First Search

0386-lexicographical-numbers
1484-linked-list-in-binary-tree

Breadth-First Search

1484-linked-list-in-binary-tree

Binary Tree

1484-linked-list-in-binary-tree

Prefix Sum

0238-product-of-array-except-self
0303-range-sum-query-immutable

Bit Manipulation

0136-single-number
0187-repeated-dna-sequences
0268-missing-number
0371-sum-of-two-integers
0389-find-the-difference
0397-integer-replacement
0405-convert-a-number-to-hexadecimal
1786-count-the-number-of-consistent-strings
2323-minimum-bit-flips-to-convert-number
2503-longest-subarray-with-maximum-bitwise-and

Dynamic Programming

0042-trapping-rain-water
0045-jump-game-ii
0053-maximum-subarray
0055-jump-game
0121-best-time-to-buy-and-sell-stock
0397-integer-replacement
0486-predict-the-winner
0718-maximum-length-of-repeated-subarray

Recursion

0273-integer-to-english-words
0486-predict-the-winner

Game Theory

0486-predict-the-winner

Binary Search

0035-search-insert-position
0074-search-a-2d-matrix
0268-missing-number
0278-first-bad-version
0350-intersection-of-two-arrays-ii
0374-guess-number-higher-or-lower
0718-maximum-length-of-repeated-subarray
0792-binary-search
2917-count-pairs-whose-sum-is-less-than-target

Interactive

0278-first-bad-version
0374-guess-number-higher-or-lower

Greedy

0011-container-with-most-water
0045-jump-game-ii
0055-jump-game
0135-candy
0397-integer-replacement
0409-longest-palindrome
0957-minimum-add-to-make-parentheses-valid
2095-minimum-number-of-swaps-to-make-the-string-balanced
2148-minimum-number-of-moves-to-seat-everyone

Stack

0042-trapping-rain-water
0735-asteroid-collision
0874-backspace-string-compare
0957-minimum-add-to-make-parentheses-valid
1078-remove-outermost-parentheses
2095-minimum-number-of-swaps-to-make-the-string-balanced
2800-minimum-string-length-after-removing-substrings

Monotonic Stack

0042-trapping-rain-water

String

0058-length-of-last-word
0187-repeated-dna-sequences
0205-isomorphic-strings
0273-integer-to-english-words
0344-reverse-string
0389-find-the-difference
0409-longest-palindrome
0415-add-strings
0567-permutation-in-string
0696-count-binary-substrings
0874-backspace-string-compare
0920-uncommon-words-from-two-sentences
0957-minimum-add-to-make-parentheses-valid
1078-remove-outermost-parentheses
1205-defanging-an-ip-address
1786-count-the-number-of-consistent-strings
1987-substrings-of-size-three-with-distinct-characters
2095-minimum-number-of-swaps-to-make-the-string-balanced
2113-find-the-kth-largest-integer-in-the-array
2800-minimum-string-length-after-removing-substrings

Counting

0229-majority-element-ii
0920-uncommon-words-from-two-sentences
1786-count-the-number-of-consistent-strings
1987-substrings-of-size-three-with-distinct-characters
2486-most-frequent-even-element

Brainteaser

2503-longest-subarray-with-maximum-bitwise-and

Divide and Conquer

0053-maximum-subarray
2113-find-the-kth-largest-integer-in-the-array

Database

0176-second-highest-salary

Simulation

0054-spiral-matrix
0059-spiral-matrix-ii
0258-add-digits
0415-add-strings
0566-reshape-the-matrix
0735-asteroid-collision
0874-backspace-string-compare
2800-minimum-string-length-after-removing-substrings

Memoization

0397-integer-replacement

Trie

0386-lexicographical-numbers

Number Theory

0204-count-primes
0258-add-digits
1585-the-kth-factor-of-n

Reservoir Sampling

0398-random-pick-index

Randomized

0398-random-pick-index

Enumeration

0204-count-primes

Design

0303-range-sum-query-immutable

Rolling Hash

0187-repeated-dna-sequences
0718-maximum-length-of-repeated-subarray

Hash Function

0187-repeated-dna-sequences
0718-maximum-length-of-repeated-subarray

Counting Sort

2148-minimum-number-of-moves-to-seat-everyone

Heap (Priority Queue)

2113-find-the-kth-largest-integer-in-the-array

Quickselect

2113-find-the-kth-largest-integer-in-the-array

About

Showing my coding skills through the leetcode platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published