Fractions coding challenges

Practise fractions with 3 coding challenges, from easy to hard. Every challenge runs in your browser with instant tests, an AI review of your code and community solutions to compare.

Medium · 3

Skills you'll practise: Floating pointGCD reductionReal exponentsRoots and powersSign normalization
  • Python · C++ · C#
  • Automated tests
  • AI code review
  • Community solutions
226
Challenges
2
Solutions shared
3
Languages

All challenges

Search by topic, language, or difficulty.

3 challenges
Medium

Raise a Fraction to a Real Power

Raise a positive fraction to a real-valued exponent.

You'll learn Real exponentsFloating point
Fractionsmath
No solutions yet
Medium

Raise a Number to a Fractional Power

Raise a positive real number to a rational exponent.

You'll learn Roots and powersFloating point
Fractionsmath
No solutions yet
Medium

Exact Fraction Arithmetic

Perform fraction operations and return a reduced fraction.

You'll learn GCD reductionSign normalization
Fractionsmath
No solutions yet