Counting Problems

Master counting problems with AI-powered solutions. Get instant coding assistance during your technical interviews for all 106 problems in this category.

Total Problems: 106
Easy: 45
Medium: 51
Hard: 10
Showing 50 of 106 problems

Problems

Scroll within this area to browse all problems

#
Title
Difficulty
347

Top K Frequent Elements

Medium
169

Majority Element

Easy
383

Ransom Note

Easy
621

Task Scheduler

Medium
387

First Unique Character in a String

Easy
1708

Design Parking System

Easy
3267

Find Longest Special Substring That Occurs Thrice I

Medium
920

Uncommon Words from Two Sentences

Easy
837

Most Common Word

Easy
1635

Number of Good Pairs

Easy
299

Bulls and Cows

Medium
451

Sort Characters By Frequency

Medium
2378

Sender With Largest Word Count

Medium
2362

Minimum Rounds to Complete All Tasks

Medium
229

Majority Element II

Medium
2605

Count Anagrams

Hard
1055

Pairs of Songs With Total Durations Divisible by 60

Medium
1458

Sort Integers by The Number of 1 Bits

Easy
3437

Maximum Total Damage With Spell Casting

Medium
2433

Best Poker Hand

Easy
2475

Largest Palindromic Number

Medium
3455

Minimum Length of String After Operations

Medium
1777

Determine if Two Strings Are Close

Medium
1534

Minimum Number of Frogs Croaking

Medium
1034

Subarrays with K Different Integers

Hard
1848

Sum of Unique Elements

Easy
2654

Count the Number of Vowel Strings in Range

Easy
3242

Count Elements With Maximum Frequency

Easy
1859

Change Minimum Characters to Satisfy One of Three Conditions

Medium
1786

Count the Number of Consistent Strings

Easy
1890

Sum of Beauty of All Substrings

Medium
2312

Most Frequent Number Following Key In an Array

Easy
2486

Most Frequent Even Element

Easy
1160

Letter Tile Possibilities

Medium
3324

Split the Array

Easy
1469

Minimum Number of Steps to Make Two Strings Anagram

Medium
3019

Furthest Point From Origin

Easy
936

RLE Iterator

Medium
2140

Longest Subsequence Repeated k Times

Hard
2156

Stone Game IX

Medium
2633

Minimum Cost to Split an Array

Hard
829

Subdomain Visit Count

Medium
3630

Total Characters in String After Transformations II

Hard
1112

Find Words That Can Be Formed by Characters

Easy
2289

Minimum Operations to Make the Array Alternating

Medium
3594

Identify the Largest Outlier in an Array

Medium
692

Top K Frequent Words

Medium
2494

Sum of Prefix Scores of Strings

Hard
1987

Substrings of Size Three with Distinct Characters

Easy
3885

Count Special Triplets

Medium
Loading more problems...

Counting LeetCode Problems List

Related LeetCode Topics

Counting LeetCode Problems - Interview Coder