Учебный трек

Практика Go

Десять коротких упражнений: FizzBuzz, числа Фибоначчи, простые числа, строки, бинарный поиск и банковский счёт.

Уроков: 10 · Задач: 15

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