Skip to content

Pradeepa006/leetcodeSolutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

leetcodeSolutions

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

LeetCode Topics

Math

0007-reverse-integer
0009-palindrome-number
0013-roman-to-integer
0050-powx-n
0202-happy-number
0507-perfect-number
0897-prime-palindrome
1013-fibonacci-number
1610-xor-operation-in-an-array
2032-largest-odd-number-in-string
2432-number-of-zero-filled-subarrays
2812-find-the-maximum-achievable-number

Number Theory

0897-prime-palindrome

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
0125-valid-palindrome
0205-isomorphic-strings
0242-valid-anagram
0344-reverse-string
0392-is-subsequence
0394-decode-string
0557-reverse-words-in-a-string-iii
0680-valid-palindrome-ii
0742-to-lower-case
0768-partition-labels
0812-rotate-string
2032-largest-odd-number-in-string
2231-find-first-palindromic-string-in-the-array
2470-removing-stars-from-a-string
3194-find-words-containing-character
3312-number-of-changing-keys

Trie

0014-longest-common-prefix

Greedy

0011-container-with-most-water
0455-assign-cookies
0680-valid-palindrome-ii
0768-partition-labels
2032-largest-odd-number-in-string

Hash Table

0001-two-sum
0013-roman-to-integer
0141-linked-list-cycle
0160-intersection-of-two-linked-lists
0169-majority-element
0202-happy-number
0205-isomorphic-strings
0219-contains-duplicate-ii
0242-valid-anagram
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0768-partition-labels
1798-max-number-of-k-sum-pairs
2552-maximum-sum-of-distinct-subarrays-with-length-k

Sorting

0088-merge-sorted-array
0169-majority-element
0242-valid-anagram
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0455-assign-cookies
1798-max-number-of-k-sum-pairs
3748-sort-matrix-by-diagonals

String Matching

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

Dynamic Programming

0053-maximum-subarray
0118-pascals-triangle
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock
0392-is-subsequence
0747-min-cost-climbing-stairs
1013-fibonacci-number
1586-longest-subarray-of-1s-after-deleting-one-element

Recursion

0050-powx-n
0203-remove-linked-list-elements
0206-reverse-linked-list
0394-decode-string
1013-fibonacci-number

Memoization

1013-fibonacci-number

Linked List

0083-remove-duplicates-from-sorted-list
0141-linked-list-cycle
0160-intersection-of-two-linked-lists
0203-remove-linked-list-elements
0206-reverse-linked-list

Two Pointers

0011-container-with-most-water
0026-remove-duplicates-from-sorted-array
0028-find-the-index-of-the-first-occurrence-in-a-string
0088-merge-sorted-array
0125-valid-palindrome
0141-linked-list-cycle
0160-intersection-of-two-linked-lists
0202-happy-number
0283-move-zeroes
0344-reverse-string
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0392-is-subsequence
0455-assign-cookies
0557-reverse-words-in-a-string-iii
0680-valid-palindrome-ii
0768-partition-labels
1798-max-number-of-k-sum-pairs
2231-find-first-palindromic-string-in-the-array

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0011-container-with-most-water
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0033-search-in-rotated-sorted-array
0035-search-insert-position
0053-maximum-subarray
0088-merge-sorted-array
0118-pascals-triangle
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock
0169-majority-element
0209-minimum-size-subarray-sum
0219-contains-duplicate-ii
0238-product-of-array-except-self
0283-move-zeroes
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0455-assign-cookies
0643-maximum-average-subarray-i
0747-min-cost-climbing-stairs
1586-longest-subarray-of-1s-after-deleting-one-element
1755-defuse-the-bomb
1798-max-number-of-k-sum-pairs
1833-find-the-highest-altitude
1878-check-if-array-is-sorted-and-rotated
2231-find-first-palindromic-string-in-the-array
2432-number-of-zero-filled-subarrays
2552-maximum-sum-of-distinct-subarrays-with-length-k
2866-longest-even-odd-subarray-with-threshold
3194-find-words-containing-character
3748-sort-matrix-by-diagonals

Binary Search

0004-median-of-two-sorted-arrays
0033-search-in-rotated-sorted-array
0035-search-insert-position
0209-minimum-size-subarray-sum
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii

Divide and Conquer

0004-median-of-two-sorted-arrays
0053-maximum-subarray
0169-majority-element

Stack

0020-valid-parentheses
0394-decode-string
2470-removing-stars-from-a-string

Simulation

2470-removing-stars-from-a-string

Prefix Sum

0209-minimum-size-subarray-sum
0238-product-of-array-except-self
1833-find-the-highest-altitude

Sliding Window

0209-minimum-size-subarray-sum
0219-contains-duplicate-ii
0643-maximum-average-subarray-i
1586-longest-subarray-of-1s-after-deleting-one-element
1755-defuse-the-bomb
2552-maximum-sum-of-distinct-subarrays-with-length-k
2866-longest-even-odd-subarray-with-threshold

Bit Manipulation

1610-xor-operation-in-an-array

Counting

0169-majority-element

Matrix

3748-sort-matrix-by-diagonals

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

Languages