In this video we solve a common interview question Fizz Buzz. After this video you will understand the problem and how to solve to it. We will solve fizz buzz using 2 different solutions. We will use JavaScript however the same concepts apply to many other languages(.Net C#, Java, Python, TypeScript)
Interesting fact Fizz Buzz is also a drinking game.
GitHub:
https://github.com/CodingWith-Adam/fi...
Problem Statement:
Print numbers 1 to n (or store in an array)
If the number is divisible by 3 print “Fizz”
If the number is divisible by 5 print “Buzz”
If the number is divisible by 3 and 5 print “FizzBuzz”
If none of the above conditions are true print the number
Chapters
00:00 Problem description
00:34 Example
01:33 Setup
02:12 Solution 1
06:49 Solution 2
#coding #codinginterview #programming #leetcode
Смотрите видео How to solve Fizz Buzz with an easy explanation онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Coding With Adam 11 Июль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,147 раз и оно понравилось 47 людям.