Software Engineer
Software Engineer
High QualityInterview Summary
This was an online assessment task to create a Monster Registry program in Python 3.8. The program needs to read a CSV file containing monster data (ID, Name, Types, Weaknesses, Evolution) and a specific monster's name.
Interview Details
Task 1
Your task is to create a Monster Registry.
Monster Background
-
Monsters battle each other.
-
Each monster has a unique 3-digit ID number and a name.
-
Monsters have types and weaknesses.
- Types determine what other monsters they are strong or weak against.
- For example, a Banub is a fire type monster, and Octopeat has a weakness for fire type monsters. Therefore Banub is strong against Octopeat and Octopeat is weak against Banub.
- A single monster can have more than one type or weakness.
-
A monster can evolve into another monster.
- For example, Banub evolves into Banubeleon, who evolves into Banubizard.
- Sometimes, a monster may have a choice of two or more other monsters to evolve into. For example, Ironuin can evolve into Iroume or Irossom.
Detailed Requirements
The program which you will write shall accept a CSV file containing a database of all known monsters, as well as the case-insensitive name of one monster. It will output the other monsters that the given monster is strong and weak against, and an evolution chart for the given monster.
Your program will be provided well-formed input files and valid command line arguments and must print a carefully formatted output.
Submission Guidelines
- The tests will execute the main function without any arguments, parameters will be provided like in command-line execution.
- All results must be printed to stdout (not returned from the function).
- Your submission will be run against an automated test suite. This means proper
Unlock Full Details
Create a free account to unlock this interview experience report.