Skip to content

Latest commit

 

History

194 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Topics

Array

Problem Name Difficulty
0001-two-sum Easy
0088-merge-sorted-array Easy
0169-majority-element Easy
0189-rotate-array Medium
0217-contains-duplicate Easy
0283-move-zeroes Easy
0485-max-consecutive-ones Easy
0977-squares-of-a-sorted-array Easy
1470-shuffle-the-array Easy
1480-running-sum-of-1d-array Easy
1512-number-of-good-pairs Easy
1732-find-the-highest-altitude Easy
1929-concatenation-of-array Easy
2011-final-value-of-variable-after-performing-operations Easy
2215-find-the-difference-of-two-arrays Easy

String

Problem Name Difficulty
0020-valid-parentheses Easy
0125-valid-palindrome Easy
0344-reverse-string Easy
0345-reverse-vowels-of-a-string Easy
0412-fizz-buzz Easy
0680-valid-palindrome-ii Easy
0771-jewels-and-stones Easy
1047-remove-all-adjacent-duplicates-in-string Easy
1370-increasing-decreasing-string Easy
1768-merge-strings-alternately Easy
2000-reverse-prefix-of-word Easy
2011-final-value-of-variable-after-performing-operations Easy

Simulation

Problem Name Difficulty
0412-fizz-buzz Easy
1929-concatenation-of-array Easy
2011-final-value-of-variable-after-performing-operations Easy

Two Pointers

Problem Name Difficulty
0088-merge-sorted-array Easy
0125-valid-palindrome Easy
0189-rotate-array Medium
0283-move-zeroes Easy
0344-reverse-string Easy
0345-reverse-vowels-of-a-string Easy
0680-valid-palindrome-ii Easy
0977-squares-of-a-sorted-array Easy
1768-merge-strings-alternately Easy
2000-reverse-prefix-of-word Easy

Sorting

Problem Name Difficulty
0088-merge-sorted-array Easy
0169-majority-element Easy
0217-contains-duplicate Easy
0977-squares-of-a-sorted-array Easy

Hash Table

Problem Name Difficulty
0001-two-sum Easy
0169-majority-element Easy
0217-contains-duplicate Easy
0771-jewels-and-stones Easy
1370-increasing-decreasing-string Easy
1512-number-of-good-pairs Easy
2215-find-the-difference-of-two-arrays Easy

Math

Problem Name Difficulty
0189-rotate-array Medium
0412-fizz-buzz Easy
1512-number-of-good-pairs Easy

Counting

Problem Name Difficulty
0169-majority-element Easy
1370-increasing-decreasing-string Easy
1512-number-of-good-pairs Easy

Greedy

Problem Name Difficulty
0680-valid-palindrome-ii Easy

Stack

Problem Name Difficulty
0020-valid-parentheses Easy
1047-remove-all-adjacent-duplicates-in-string Easy
2000-reverse-prefix-of-word Easy

Prefix Sum

Problem Name Difficulty
1480-running-sum-of-1d-array Easy
1732-find-the-highest-altitude Easy

Divide and Conquer

Problem Name Difficulty
0169-majority-element Easy

Boyer–Moore Majority Vote Algorithm

Problem Name Difficulty
0169-majority-element Easy

About

A comprehensive collection of LeetCode problem solutions implemented in C++. This repository contains solutions for various algorithmic challenges, organized by topic.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages