Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/javatlacati/liniobuzz

Interview exercise for Linio
https://github.com/javatlacati/liniobuzz

challenge grunt interview-exercise java kotlin linio maven typescript

Last synced: 23 days ago
JSON representation

Interview exercise for Linio

Awesome Lists containing this project

README

        

# liniobuzz
Interview exercise for Linio

# Challenge –Backend Developer

[![Build Status](https://travis-ci.org/javatlacati/liniobuzz.svg?branch=master)](https://travis-ci.org/javatlacati/liniobuzz) [![License](https://img.shields.io/badge/license-LGPL--3-blue.svg)](LICENSE)
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjavatlacati%2Fliniobuzz.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjavatlacati%2Fliniobuzz?ref=badge_shield)

Write a program that prints all the numbers from 1 to 100. However, for
multiples of 3, instead of the number, print "Linio". For multiples of 5 print
"IT". For numbers which are multiples of both 3 and 5, print "Linianos".

But here's the catch: you can use only one `if`. No multiple branches, ternary
operators or `else`.

# Requirements
* 1 if
* You can't use `else`, `else if` or ternary
* Unit tests
* Feel free to apply your SOLID knowledge
* You can write the challenge in any language you want. Here at Linio we are big fans of Java, PHP, Kotlin and TypeScript.

## License
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjavatlacati%2Fliniobuzz.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjavatlacati%2Fliniobuzz?ref=badge_large)