Math Coding Problems

Apply mathematical concepts to solve problems

596
Total Problems
150
Easy
283
Medium
161
Hard
Start Practicing
π√xn!%

Master DSA Topics - April, 2026

Practice problems across 75+ categories

Math Coding Problems

Practice problems frequently asked at Math 596 problems | 150 Easy | 283 Medium | 161 Hard

# Problem Difficulty Topics
106 Count Number of Bad Pairs Medium
ArrayHash TableMath
107 Count Number of Balanced Permutations Hard
MathStringDynamic Programming
108 Count Number of Distinct Integers After Reverse Operations Medium
ArrayHash TableMath
109 Count Number of Homogenous Substrings Medium
MathString
110 Count Number of Nice Subarrays Medium
ArrayHash TableMath
111 Count Number of Texts Medium
Hash TableMathString
112 Count Numbers with Non-Decreasing Digits Unknown
MathStringDynamic Programming
113 Count Numbers with Unique Digits Medium
MathDynamic ProgrammingBacktracking
114 Count Numbers With Unique Digits II Easy
Hash TableMathDynamic Programming
115 Count Odd Numbers in an Interval Range Easy
Math
116 Count of Integers Hard
MathStringDynamic Programming
117 Count of Matches in Tournament Easy
MathSimulation
118 Count Operations to Obtain Zero Easy
MathSimulation
119 Count Partitions with Even Sum Difference Easy
ArrayMathPrefix Sum
120 Count Prime-Gap Balanced Subarrays Medium
ArrayMathQueue
Showing 106-120 of 596
1 ... 6 7 8 9 10 ... 40

Tutorials Library

Master any technology with our largest free online Library. Browse through 500+ tutorials across 10+ categories.

Python

Python Tutorial

Java

Java Tutorial

JavaScript

JavaScript

C++

C++ Tutorial

C#

C# Tutorial

Go

Go Tutorial

Rust

Rust Tutorial

TypeScript

TypeScript

Swift

Swift Tutorial

Kotlin

Kotlin Tutorial

Ruby

Ruby Tutorial

PHP

PHP Tutorial

C

C Tutorial

Scala

Scala Tutorial

Perl

Perl Tutorial

R

R Tutorial

Dart

Dart Tutorial

Lua

Lua Tutorial

MATLAB

MATLAB

Haskell

Haskell

Developer Toolbox

Powerful online tools to boost your productivity

public class MyFirstJavaProgram { Edit & Run

   /* This is my first java program.
    * This will print 'Hello, World!' as the output
    */

   public static void main(String []args) {
      System.out.println("Hello, World!"); // prints
   }
}

Start Coding in Seconds

Coding Ground For Developers

Code, Edit, Run and Share

Ignite your coding potential on Coding Ground - an immersive online platform for hands-on learning, collaboration, and skill development.