Practice
Your code is run against real test cases and marked the moment you submit. Start with the easy ones — they are genuinely easy, not “easy for somebody who already knows”.
You can solve anything here without an account. Signing up is what remembers which ones you have finished, keeps your streak and pays the coins.
1
Easy
Add Two Numbers
7 solved
Solve
2
Easy
Even or Odd
3 solved
Solve
3
Easy
Largest of Three Numbers
3 solved
Solve
4
Easy
Sum from 1 to N
4 solved
Solve
5
Easy
Factorial of N
4 solved
Solve
6
Easy
Reverse a Number
2 solved
Solve
7
Easy
Count the Vowels
1 solved
Solve
8
Easy
Reverse a String
1 solved
Solve
9
Easy
Multiplication Table
1 solved
Solve
10
Easy
Star Triangle Pattern
1 solved
Solve
11
Medium
Palindrome Number
1 solved
Solve
12
Medium
Prime Number Check
1 solved
Solve
13
Medium
GCD of Two Numbers
1 solved
Solve
14
Medium
Fibonacci Series
1 solved
Solve
15
Medium
Array Maximum and Minimum
1 solved
Solve
16
Medium
Count Occurrences
1 solved
Solve
17
Medium
Second Largest Element
1 solved
Solve
18
Hard
Remove Duplicates
1 solved
Solve
19
Hard
Anagram Check
1 solved
Solve
20
Hard
Binary Search
2 solved
Solve
New to this?
Every problem gives you starter code in five languages, shows a worked example, and tells you exactly which test your program failed on — not just that it failed.
If a problem looks unfamiliar, read the tutorial on that topic first. They are meant to be used together: read, then solve, then read the next one.