Easy Coding Problems
Practice 95 easy coding problems on Code Arena — each with a live judge, worked examples, and a solution editorial.
- Sum of Two — Easy · Math, Implementation
- Greeting — Easy · Strings, Implementation
- Reverse a String — Easy · Strings, Implementation
- FizzBuzz — Easy · Implementation, Math
- Count the Vowels — Easy · Strings
- Sort the Array — Easy · Sorting, Arrays
- Array Sum — Easy · Arrays, Math
- Max of Three — Easy · Implementation
- Even or Odd — Easy · Math
- Count Words — Easy · Strings
- Sum of Digits — Easy · Math, Strings
- Factorial — Easy · Math
- Minimum of an Array — Easy · Arrays
- Multiply Two — Easy · Math
- Absolute Value — Easy · Math
- Last Digit — Easy · Math
- To Uppercase — Easy · Strings
- Leap Year — Easy · Math, Implementation
- Count Even Numbers — Easy · Arrays
- Sum of a Range — Easy · Math
- Character Count — Easy · Strings
- Two Sum — Easy · Arrays, Hashing
- Best Time to Buy and Sell Stock — Easy · Arrays, Dynamic Programming
- Contains Duplicate — Easy · Arrays, Hashing
- Move Zeroes — Easy · Arrays, Two Pointers
- Plus One — Easy · Arrays, Math
- Merge Two Sorted Arrays — Easy · Arrays, Sorting
- Length of Last Word — Easy · Strings
- Shopping Cart Total — Easy · Arrays, Math
- Apply a Discount — Easy · Math
- Add Sales Tax — Easy · Math
- Passing Students — Easy · Arrays
- Class Average — Easy · Arrays, Math
- Temperature Swing — Easy · Arrays
- Low Stock Alert — Easy · Arrays
- Pagination — Easy · Math
- Unique Visitors — Easy · Hashing, Strings
- DNA Mutations — Easy · Strings
- GC Content — Easy · Strings, Math
- Distinct Words — Easy · Hashing, Strings
- Spend and Save — Easy · Math
- Tip Total — Easy · Math, Implementation
- Change Due — Easy · Math
- Seconds to HH:MM:SS — Easy · Implementation, Math
- Discounted Price — Easy · Math
- Letter Grade — Easy · Implementation
- Count Uppercase Letters — Easy · Strings
- Account Balance — Easy · Arrays, Math
- RGB to Hex Color — Easy · Strings, Implementation, Math
- Title Case — Easy · Strings
- Parking Fee — Easy · Math, Implementation
- Longest Word — Easy · Strings
- Product of Digits — Easy · Math, Strings
- Sum of Multiples — Easy · Math
- Restock Alert — Easy · Arrays, Implementation
- Digital Root — Easy · Math
- Count Negatives — Easy · Arrays
- Even Numbers Up To N — Easy · Implementation, Math
- Repeat String — Easy · Strings
- Array Range — Easy · Arrays
- Sum of Even Elements — Easy · Arrays, Math
- Reverse the Words — Easy · Strings
- Count Divisors — Easy · Number Theory, Math
- Running Maximum — Easy · Arrays
- Hex to Decimal — Easy · Math, Implementation
- Sum of Squares — Easy · Math
- Count Odd Numbers — Easy · Arrays
- Minimum and Maximum — Easy · Arrays
- Alternating Sum — Easy · Arrays, Math
- Prefix Sums — Easy · Prefix Sum, Arrays
- Count Above Average — Easy · Arrays, Math
- Capitalize Words — Easy · Strings
- Trailing Zero Bits — Easy · Bit Manipulation, Math
- Swap Case — Easy · Strings
- Add Two Arrays — Easy · Arrays
- Sum of Cubes — Easy · Math
- Count Positive Numbers — Easy · Arrays
- Floor of Average — Easy · Arrays, Math
- Second Smallest — Easy · Arrays
- Palindrome Number — Easy · Math
- Count Digits — Easy · Math
- Interleave Arrays — Easy · Arrays
- Remove Spaces — Easy · Strings
- Max Consecutive Ones — Easy · Arrays
- Absolute Values — Easy · Arrays
- XP to Level — Easy · Math
- Typing Speed — Easy · Math
- Traffic Light — Easy · Simulation, Math
- Seconds to Midnight — Easy · Math
- Dropped Frames — Easy · Arrays
- Health Bar — Easy · Arrays, Simulation
- Tournament Byes — Easy · Math
- Keystroke Count — Easy · Strings, Math
- Snake Length — Easy · Strings, Simulation
- First Free Spot — Easy · Strings, Arrays