Skip to content

A collection of LeetCode questions and solutions.

Notifications You must be signed in to change notification settings

YosephSE/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode

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

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array

Hash Table

0001-two-sum
0013-roman-to-integer

Math

0009-palindrome-number
0013-roman-to-integer
0412-fizz-buzz

String

0013-roman-to-integer
0412-fizz-buzz

Two Pointers

0026-remove-duplicates-from-sorted-array

Simulation

0412-fizz-buzz

LeetCode Topics

Database

0175-combine-two-tables
0181-employees-earning-more-than-their-managers
0183-customers-who-never-order
0197-rising-temperature
0570-managers-with-at-least-5-direct-reports
0577-employee-bonus
0584-find-customer-referee
0595-big-countries
1153-product-sales-analysis-i
1258-article-views-i
1509-replace-employee-id-with-the-unique-identifier
1724-customer-who-visited-but-did-not-make-any-transactions
1827-invalid-tweets
1908-recyclable-and-low-fat-products

Two Pointers

0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0125-valid-palindrome
0283-move-zeroes
0344-reverse-string
0345-reverse-vowels-of-a-string
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
1894-merge-strings-alternately

String

0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0125-valid-palindrome
0171-excel-sheet-column-number
0242-valid-anagram
0344-reverse-string
0345-reverse-vowels-of-a-string
0412-fizz-buzz
0500-keyboard-row
0535-encode-and-decode-tinyurl
0782-jewels-and-stones
1205-defanging-an-ip-address
1894-merge-strings-alternately
2137-final-value-of-variable-after-performing-operations
2219-maximum-number-of-words-found-in-sentences
3194-find-words-containing-character
3379-score-of-a-string
3412-permutation-difference-between-two-strings

String Matching

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

Math

0066-plus-one
0069-sqrtx
0171-excel-sheet-column-number
0268-missing-number
0412-fizz-buzz
1585-the-kth-factor-of-n
2383-add-two-integers

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0027-remove-element
0035-search-insert-position
0066-plus-one
0135-candy
0169-majority-element
0268-missing-number
0283-move-zeroes
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0500-keyboard-row
1319-unique-number-of-occurrences
1528-kids-with-the-greatest-number-of-candies
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
2058-concatenation-of-array
2137-final-value-of-variable-after-performing-operations
2219-maximum-number-of-words-found-in-sentences
3194-find-words-containing-character

Greedy

0135-candy
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves

Number Theory

1585-the-kth-factor-of-n

Binary Search

0004-median-of-two-sorted-arrays
0035-search-insert-position
0069-sqrtx
0268-missing-number
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii

Hash Table

0001-two-sum
0169-majority-element
0242-valid-anagram
0268-missing-number
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0500-keyboard-row
0535-encode-and-decode-tinyurl
0782-jewels-and-stones
1319-unique-number-of-occurrences
3412-permutation-difference-between-two-strings

Bit Manipulation

0268-missing-number

Sorting

0169-majority-element
0242-valid-anagram
0268-missing-number
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves

Simulation

0412-fizz-buzz
2058-concatenation-of-array
2137-final-value-of-variable-after-performing-operations

Divide and Conquer

0004-median-of-two-sorted-arrays
0169-majority-element

Counting

0169-majority-element

Stack

0020-valid-parentheses

Design

0535-encode-and-decode-tinyurl

Hash Function

0535-encode-and-decode-tinyurl

About

A collection of LeetCode questions and solutions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published