Category

Ruby

Learn Ruby from the ground up.

Exercises

  • Reverse a String

    Write a method `reverse_string(str)` that returns the reverse of `str`.

    Easy
  • Sum Two Numbers

    Write a method `sum_two_numbers(a, b)` that returns the sum of `a` and `b`.

    Easy
  • FizzBuzz

    Write `fizzbuzz(n)` returning "Fizz", "Buzz", "FizzBuzz", or the number as a string.

    Medium