学習パス

Go の練習

短い練習問題 10 問: 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.