(Translated by https://www.hiragana.jp/)
GitHub - DuvaAB/developer-test: Work here? Try this!
Skip to content

DuvaAB/developer-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Duva dev hire test

Project 1

Make a program that parse a CSV file and apply the following rules:

  • X, Y and Z combinations must be unique
  • If X, Y or Z is below 0, set it to 0

Errors should be printed to stderr

CSV file columns

Name Type
X int64
Y int64
Z int64

Example data is located in test_data/

Bonus tasks:

  • Write unit tests that proves your solution works
  • Make the program compute the area of a triangle with the side lengths X, Y and Z for every row

Project 2

  1. Write a function that reverses the characters of a string.
  2. Write a function that reverses the words(separated by spaces) of a string.
  3. Write a function that prints the numbers from 1 to 100. But for multiples of 3 print “Fizz” and for the multiples of 5 print “Buzz”. For numbers which are multiples of both 3 and 5, print “FizzBuzz”.
  4. Write a function that calculates the angle between the hour and minute hands on a clock.
  5. Write a function that hash a password to be stored in a database.

Releases

No releases published

Packages

No packages published