/dsa

Primary LanguageC++

DSA

Data Structures and Algorithms Practice.

Studying using active recall testing and spaced repitition.

Array

0001-two-sum
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0167-two-sum-ii-input-array-is-sorted
0238-product-of-array-except-self
0347-top-k-frequent-elements

Hash Table

0001-two-sum
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0242-valid-anagram
0347-top-k-frequent-elements

Divide and Conquer

0347-top-k-frequent-elements

Sorting

0049-group-anagrams
0242-valid-anagram
0347-top-k-frequent-elements

Heap (Priority Queue)

0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements

Quickselect

0347-top-k-frequent-elements

Two Pointers

0167-two-sum-ii-input-array-is-sorted

Binary Search

0167-two-sum-ii-input-array-is-sorted

Union Find

0128-longest-consecutive-sequence

Prefix Sum

0238-product-of-array-except-self

String

0049-group-anagrams
0242-valid-anagram

Matrix

0036-valid-sudoku

LeetCode Topics

Array

0001-two-sum
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0167-two-sum-ii-input-array-is-sorted
0217-contains-duplicate
0238-product-of-array-except-self

Hash Table

0001-two-sum
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0217-contains-duplicate
0242-valid-anagram

Sorting

0049-group-anagrams
0217-contains-duplicate
0242-valid-anagram

String

0049-group-anagrams
0125-valid-palindrome
0242-valid-anagram
0412-fizz-buzz

Prefix Sum

0238-product-of-array-except-self

Matrix

0036-valid-sudoku

Union Find

0128-longest-consecutive-sequence

Two Pointers

0125-valid-palindrome
0167-two-sum-ii-input-array-is-sorted

Binary Search

0167-two-sum-ii-input-array-is-sorted

Math

0412-fizz-buzz

Simulation

0412-fizz-buzz