Fizz Buzz is a very simple programming task, asked in software developer job interviews.

Last update: Jun 6, 2022

FizzBuzz

Fizz Buzz is a very simple programming task, asked in software developer job interviews.

A typical round of Fizz Buzz can be:

Write a program that prints the numbers from 1 to n (1.000 in this example) and for the multiples of ‘3’ and '5' simultaneously print "FizzBuzz" instead of the number, for multiples ‘3’ print “Fizz” instead of the number and for the multiples of ‘5’ print “Buzz”, until reach n.

Example:

1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz, 11, Fizz, 13, 14, Fizz Buzz, 16, 17, Fizz, 19, Buzz, Fizz, 22, 23, Fizz, Buzz, 26, Fizz, 28, 29, Fizz Buzz, 31, 32, Fizz, 34, Buzz, Fizz, ...

FIX: This example a I get from a not FizzBuzz variation, so, only "Fizz" and "Buzz" here...

Download and Usage

How to open a project

% git clone https://github.com/allangarcia/MyFizzBuzz.git
% cd MyFizzBuzz
% open Xcode MyFizzBuzz.xcodeproj

Release history

  • Release 0.1 - This is the only release (I Think ;)
  • Release 0.2 - Some typo fixes and bugs fixes
  • Release 0.3 - Fixing explanation on README.md

Next steps

  • Fix example on README.md
  • Maybe solve other problems typical to interviews in tech jobs using Swift (yes, this is a requirement!)
  • If you have one, you can try it yourself, maybe code with me, and maybe we can record a video solving it.

License

Everything is public and free to use without any credit, although some respect is appreciated.

GitHub

https://github.com/allangarcia/MyFizzBuzz
You might also like...

A simple class to check for internet connection availability in Swift.

Reach A simple class to check for internet connection availability in Swift. Works for both 3G and WiFi connections. Install Manually Add the Reach.sw

Jun 22, 2022

A simple GCD based HTTP client and server, written in 'pure' Swift

A simple GCD based HTTP client and server, written in 'pure' Swift

SwiftyHTTP Note: I'm probably not going to update this any further - If you need a Swift networking toolset for the server side, consider: Macro.swift

Jun 9, 2022

Simple asynchronous HTTP networking class for Swift

YYHRequest YYHRequest is a simple and lightweight class for loading asynchronous HTTP requests in Swift. Built on NSURLConnection and NSOperationQueue

May 18, 2022

Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.

Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.

Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application. Install Carthage

Jan 21, 2022

A simple HTTP server written in Swift

http4swift http4swift is a tiny HTTP server library for Nest-compatible applications. This project is unstable, and the API might be changed at anytim

Jul 20, 2018

Simple Wi-Fi analyzer for macOS

Simple Wi-Fi analyzer for macOS

Wandra Simple Wi-Fi analyzer for macOS built in SwiftUI. It displays your Signal to Noise Ratio and Received Signal Strength. Basestation SSID and MAC

Apr 22, 2022

Showcasing simple SwiftUI and networking capabilities

CovidCounts CovidCounts is powered by SwiftUI. It allows a user to view COVID related data for different U.S. States. App Purpose This app is showcasi

Oct 15, 2021

Simple REST Client based on RxSwift and Alamofire.

RxRestClient Example To run the example project, clone the repo, and run pod install from the Example directory first. Requirements iOS 10.0+ tvOS 10.

Apr 18, 2022

QwikHttp is a robust, yet lightweight and simple to use HTTP networking library for iOS, tvOS and watchOS

QwikHttp is a robust, yet lightweight and simple to use HTTP networking library. It allows you to customize every aspect of your http requests within a single line of code, using a Builder style syntax to keep your code super clean.

Mar 20, 2022
Digger is a lightweight download framework that requires only one line of code to complete the file download task
Digger is a lightweight download framework that requires only one line of code to complete the file download task

中文说明 Digger is a lightweight download framework that requires only one line of code to complete the file download task. Based on URLSession, pure Swif

Jun 27, 2022
NewsAppTask - News App Task for iOS
NewsAppTask - News App Task for iOS

NewsAppTask The application is designed to view the news for the last 7 days fro

Feb 6, 2022
A very basic proof-of-concept Swift HTTP server that does not require Foundation

Swift Server Introduction This is very rough and basic HTTP server written in Swift without using Foundation. This is partially based on the Swifter r

Apr 27, 2022
Displaying very large images in limited memory environments

LargeImageDownsizing in Swift displaying very large images in limited memory environments by turning a large image on disk into a smaller image in mem

May 30, 2022
SwiftlyNetworker - very Ez Netowkrer!! 🧑‍💻

SwiftlyNetworker Example To run the example project, clone the repo, and run pod install from the Example directory first. Installation SwiftlyNetwork

May 12, 2022
Tiny http server engine written in Swift programming language.

What is Swifter? Tiny http server engine written in Swift programming language. Branches * stable - lands on CocoaPods and others. Supports the latest

Jun 26, 2022
RSNetworking is a networking library written entirly for the Swift programming language.

RSNetworking is a networking library written entirly for the Swift programming language.

Feb 25, 2018
C-Xpress is a modern c-like object oriented programming language running on top of the .NET framework

C-Xpress Programming Language The cxpress programming language is a High Level object oriented programming language running on the .NET Framework C-Xp

Jan 12, 2022
A simple OAuth library for iOS with a built-in set of providers
A simple OAuth library for iOS with a built-in set of providers

SwiftyOAuth is a small OAuth library with a built-in set of providers and a nice API to add your owns. let instagram: Provider = .instagram(clientID:

Apr 10, 2022
Swift Express is a simple, yet unopinionated web application server written in Swift
Swift Express is a simple, yet unopinionated web application server written in Swift

Documentation <h5 align="right"><a href="http://demo.swiftexpress.io/">Live ?? server running Demo <img src="https://cdn0.iconfinder.com/data/icons/

May 23, 2022