Skip to content

YashPatel45/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

217 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSA

LeetCode Solutions

LeetCode Topics

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0045-jump-game-ii
0049-group-anagrams
0055-jump-game
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0134-gas-station
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0189-rotate-array
0204-count-primes
0217-contains-duplicate
0238-product-of-array-except-self
0274-h-index
0283-move-zeroes
0287-find-the-duplicate-number
0380-insert-delete-getrandom-o1
0442-find-all-duplicates-in-an-array
0605-can-place-flowers
0643-maximum-average-subarray-i

Hash Table

0001-two-sum
0012-integer-to-roman
0013-roman-to-integer
0049-group-anagrams
0169-majority-element
0205-isomorphic-strings
0217-contains-duplicate
0242-valid-anagram
0290-word-pattern
0380-insert-delete-getrandom-o1
0383-ransom-note
0387-first-unique-character-in-a-string
0438-find-all-anagrams-in-a-string
0442-find-all-duplicates-in-an-array

String

0006-zigzag-conversion
0012-integer-to-roman
0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0049-group-anagrams
0058-length-of-last-word
0125-valid-palindrome
0151-reverse-words-in-a-string
0205-isomorphic-strings
0242-valid-anagram
0290-word-pattern
0344-reverse-string
0345-reverse-vowels-of-a-string
0383-ransom-note
0387-first-unique-character-in-a-string
0392-is-subsequence
0412-fizz-buzz
0438-find-all-anagrams-in-a-string

Math

0012-integer-to-roman
0013-roman-to-integer
0189-rotate-array
0204-count-primes
0263-ugly-number
0326-power-of-three
0380-insert-delete-getrandom-o1
0412-fizz-buzz

Trie

0014-longest-common-prefix

Stack

0020-valid-parentheses

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0080-remove-duplicates-from-sorted-array-ii
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
0287-find-the-duplicate-number
0344-reverse-string
0345-reverse-vowels-of-a-string
0392-is-subsequence

String Matching

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

Binary Search

0035-search-insert-position
0167-two-sum-ii-input-array-is-sorted
0287-find-the-duplicate-number

Dynamic Programming

0045-jump-game-ii
0055-jump-game
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0392-is-subsequence

Greedy

0045-jump-game-ii
0055-jump-game
0122-best-time-to-buy-and-sell-stock-ii
0134-gas-station
0605-can-place-flowers

Sorting

0049-group-anagrams
0088-merge-sorted-array
0169-majority-element
0217-contains-duplicate
0242-valid-anagram
0274-h-index

Linked List

0083-remove-duplicates-from-sorted-list
0206-reverse-linked-list

Tree

0104-maximum-depth-of-binary-tree
0783-search-in-a-binary-search-tree

Depth-First Search

0104-maximum-depth-of-binary-tree

Breadth-First Search

0104-maximum-depth-of-binary-tree

Binary Tree

0104-maximum-depth-of-binary-tree
0783-search-in-a-binary-search-tree

Divide and Conquer

0169-majority-element

Counting

0169-majority-element
0383-ransom-note
0387-first-unique-character-in-a-string

Database

0197-rising-temperature
0584-find-customer-referee
0595-big-countries

Enumeration

0204-count-primes

Number Theory

0204-count-primes

Recursion

0206-reverse-linked-list
0326-power-of-three

Prefix Sum

0238-product-of-array-except-self

Counting Sort

0274-h-index

Bit Manipulation

0287-find-the-duplicate-number

Design

0380-insert-delete-getrandom-o1

Randomized

0380-insert-delete-getrandom-o1

Queue

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

Simulation

0412-fizz-buzz

Sliding Window

0438-find-all-anagrams-in-a-string
0643-maximum-average-subarray-i

Binary Search Tree

0783-search-in-a-binary-search-tree

About

LeetCode Solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages