Ruta de aprendizaje

Práctica de Go

Diez ejercicios cortos: FizzBuzz, Fibonacci, primos, cadenas, búsqueda binaria y una cuenta bancaria.

10 lecciones · 15 retos

  1. Lección 1 reto FizzBuzz Solve the classic FizzBuzz problem with a switch.
  2. Lección 2 retos Fibonacci Sequence Generate Fibonacci numbers with a loop and a slice.
  3. Lección 2 retos Prime Numbers Check whether a number is prime and list the primes up to 30.
  4. Lección 1 reto Reverse a String Reverse the characters of a string and the words of a sentence.
  5. Lección 2 retos Palindrome Check Test whether text reads the same forwards and backwards.
  6. Lección 2 retos Word Frequency Counter Count how often each word appears with a map.
  7. Lección 1 reto Temperature Converter Convert between Celsius and Fahrenheit with your own number types.
  8. Lección 2 retos Binary Search Find a value in a sorted slice by halving the search range.
  9. Lección 1 reto Bank Account with Errors Model deposits and withdrawals that can fail with your own error types.
  10. Lección 1 reto Anagram Check Test whether two texts use exactly the same letters.