Microsoft Coding Problems

Solve Microsoft's curated coding problems

3344
Total Problems
831
Easy
1747
Medium
746
Hard
Start Practicing

Master DSA Topics - January, 2026

Practice problems across 75+ categories

Microsoft Coding Problems

Practice problems frequently asked at Microsoft 3344 problems | 831 Easy | 1747 Medium | 746 Hard

# Problem Difficulty Topics
1891 Maximum Value after Insertion Medium
StringGreedy
1892 Maximum Value at a Given Index in a Bounded Array Medium
MathBinary SearchGreedy
1893 Maximum Value of a String in an Array Easy
ArrayString
1894 Maximum Value of an Ordered Triplet I Easy
Array
1895 Maximum Value of K Coins From Piles Hard
ArrayDynamic ProgrammingPrefix Sum
1896 Maximum Value Sum by Placing Three Rooks I Hard
ArrayDynamic ProgrammingMatrix
1897 Maximum Value Sum by Placing Three Rooks II Hard
ArrayDynamic ProgrammingMatrix
1898 Maximum Weighted K-Edge Path Medium
Hash TableDynamic ProgrammingGraph
1899 Maximum White Tiles Covered by a Carpet Medium
ArrayBinary SearchGreedy
1900 Maximum Width of Binary Tree Medium
TreeDepth-First SearchBreadth-First Search
1901 Maximum Width Ramp Medium
ArrayTwo PointersStack
1902 Maximum XOR After Operations Medium
ArrayMathBit Manipulation
1903 Maximum XOR for Each Query Medium
ArrayBit ManipulationPrefix Sum
1904 Maximum XOR of Two Non-Overlapping Subtrees Hard
TreeDepth-First SearchGraph
1905 Maximum XOR of Two Numbers in an Array Medium
ArrayHash TableBit Manipulation
Showing 1891-1905 of 3344
1 ... 125 126 127 128 129 ... 223

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.