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

Overview

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.

You might also like...
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:

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/

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

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

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

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

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

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

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

Owner
Allan Garcia
iOS Software Engineer / Associate Professor
Allan Garcia
A dead simple programming language.

checked Checked is a dead simple programming language. Variable declarations with type inference func main() { let constantVariable = 5 var va

Oliver Letterer 2 Oct 21, 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. Based on URLSession, pure Swif

Ant 543 Oct 29, 2022
NewsAppTask - News App Task for iOS

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

Mikhail Skuratov 0 Feb 6, 2022
Switch viewcontroller like ios task manager

Kaeru Kaeru can switch ViewController in NavigationController like iOS task manager UI (after iOS 9). Movie Usage You can use HistoryNavigationControl

bannzai 508 Dec 7, 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

Cezary Wojcik 55 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

ONG_J 2 Oct 22, 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

LinSaeng 31 Oct 14, 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

null 3.6k Dec 31, 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.

null 18 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

null 2 Jan 12, 2022