Skip to content

anythingkartik/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode

LeetCode Topics

Math

0007-reverse-integer
0009-palindrome-number
0012-integer-to-roman
0013-roman-to-integer
0069-sqrtx
1013-fibonacci-number
1406-subtract-the-product-and-sum-of-digits-of-an-integer
1444-number-of-steps-to-reduce-a-number-to-zero
1642-water-bottles
1889-check-if-number-is-a-sum-of-powers-of-three
2032-largest-odd-number-in-string
3321-type-of-triangle

Two Pointers

0005-longest-palindromic-substring
0011-container-with-most-water
0015-3sum
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
0151-reverse-words-in-a-string
0160-intersection-of-two-linked-lists
0167-two-sum-ii-input-array-is-sorted
0283-move-zeroes
0392-is-subsequence
0443-string-compression

String

0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0012-integer-to-roman
0013-roman-to-integer
0014-longest-common-prefix
0017-letter-combinations-of-a-phone-number
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0125-valid-palindrome
0151-reverse-words-in-a-string
0205-isomorphic-strings
0242-valid-anagram
0389-find-the-difference
0392-is-subsequence
0443-string-compression
0500-keyboard-row
1044-find-common-characters
1078-remove-outermost-parentheses
1460-number-of-substrings-containing-all-three-characters
1944-truncate-sentence
2032-largest-odd-number-in-string
3194-find-words-containing-character

String Matching

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

Simulation

1642-water-bottles

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0026-remove-duplicates-from-sorted-array
0033-search-in-rotated-sorted-array
0073-set-matrix-zeroes
0088-merge-sorted-array
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0136-single-number
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0217-contains-duplicate
0219-contains-duplicate-ii
0229-majority-element-ii
0238-product-of-array-except-self
0283-move-zeroes
0500-keyboard-row
0739-daily-temperatures
0792-binary-search
1044-find-common-characters
1878-check-if-array-is-sorted-and-rotated
1944-truncate-sentence
3194-find-words-containing-character
3321-type-of-triangle

Sorting

0015-3sum
0088-merge-sorted-array
0169-majority-element
0217-contains-duplicate
0229-majority-element-ii
0242-valid-anagram
0389-find-the-difference
3321-type-of-triangle

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0012-integer-to-roman
0013-roman-to-integer
0017-letter-combinations-of-a-phone-number
0073-set-matrix-zeroes
0141-linked-list-cycle
0160-intersection-of-two-linked-lists
0169-majority-element
0205-isomorphic-strings
0217-contains-duplicate
0219-contains-duplicate-ii
0229-majority-element-ii
0242-valid-anagram
0389-find-the-difference
0500-keyboard-row
1044-find-common-characters
1460-number-of-substrings-containing-all-three-characters

Matrix

0073-set-matrix-zeroes

Counting

0169-majority-element
0229-majority-element-ii

Binary Search

0033-search-in-rotated-sorted-array
0069-sqrtx
0167-two-sum-ii-input-array-is-sorted
0792-binary-search

Trie

0014-longest-common-prefix

Greedy

0011-container-with-most-water
2032-largest-odd-number-in-string

Stack

0020-valid-parentheses
0739-daily-temperatures
1078-remove-outermost-parentheses

Bit Manipulation

0136-single-number
0389-find-the-difference
1444-number-of-steps-to-reduce-a-number-to-zero

Linked List

0021-merge-two-sorted-lists
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

Divide and Conquer

0169-majority-element

Dynamic Programming

0005-longest-palindromic-substring
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0392-is-subsequence
1013-fibonacci-number

Recursion

0021-merge-two-sorted-lists
0203-remove-linked-list-elements
0206-reverse-linked-list
1013-fibonacci-number

Memoization

1013-fibonacci-number

Sliding Window

0003-longest-substring-without-repeating-characters
0219-contains-duplicate-ii
1460-number-of-substrings-containing-all-three-characters

Prefix Sum

0238-product-of-array-except-self

Monotonic Stack

0739-daily-temperatures

Backtracking

0017-letter-combinations-of-a-phone-number

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages