Skip to content

ljdan1/competitive-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

competitive-programming

LeetCode Topics

Math

0412-fizz-buzz
1635-number-of-good-pairs
2491-smallest-even-multiple
2556-convert-the-temperature

String

0020-valid-parentheses
0344-reverse-string
0412-fizz-buzz
0874-backspace-string-compare
1128-remove-all-adjacent-duplicates-in-string
1894-merge-strings-alternately
2137-final-value-of-variable-after-performing-operations
2427-first-letter-to-appear-twice
3379-score-of-a-string

Simulation

0412-fizz-buzz
0682-baseball-game
0874-backspace-string-compare
2137-final-value-of-variable-after-performing-operations

Number Theory

2491-smallest-even-multiple

Stack

0020-valid-parentheses
0682-baseball-game
0874-backspace-string-compare
1128-remove-all-adjacent-duplicates-in-string

Array

0011-container-with-most-water
0088-merge-sorted-array
0169-majority-element
0238-product-of-array-except-self
0283-move-zeroes
0303-range-sum-query-immutable
0594-longest-harmonious-subsequence
0682-baseball-game
1482-how-many-numbers-are-smaller-than-the-current-number
1603-running-sum-of-1d-array
1635-number-of-good-pairs
2137-final-value-of-variable-after-performing-operations
2442-number-of-arithmetic-triplets
2714-left-and-right-sum-differences

Hash Table

0169-majority-element
0594-longest-harmonious-subsequence
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
2427-first-letter-to-appear-twice
2442-number-of-arithmetic-triplets

Counting

0169-majority-element
0594-longest-harmonious-subsequence
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
2427-first-letter-to-appear-twice

Two Pointers

0011-container-with-most-water
0088-merge-sorted-array
0283-move-zeroes
0344-reverse-string
0874-backspace-string-compare
1894-merge-strings-alternately
2442-number-of-arithmetic-triplets

Bit Manipulation

2427-first-letter-to-appear-twice

Divide and Conquer

0169-majority-element

Sorting

0088-merge-sorted-array
0169-majority-element
0594-longest-harmonious-subsequence
1482-how-many-numbers-are-smaller-than-the-current-number

Enumeration

2442-number-of-arithmetic-triplets

Design

0303-range-sum-query-immutable

Prefix Sum

0238-product-of-array-except-self
0303-range-sum-query-immutable
1603-running-sum-of-1d-array
2714-left-and-right-sum-differences

Sliding Window

0594-longest-harmonious-subsequence

Greedy

0011-container-with-most-water