Congratulations! You made it to the eBay Kleinanzeigen remote coding challenge, where we want to see your hands-on coding skills.
- Check installation prerequisites: JDK version >=17, Maven latest version, your preferred IDE/editor. To see that everything basic is working, execute
mvn verify, it should show you aSUCCESSbuild. - Read carefully through "Requirements" and "Out-of-scope" to focus on the right things.
- IMPORTANT: After finishing coding, please add your comments and remarks inside this
README.mdfile, see end of file. It helps us gaining context on how you reflect on the coding task. - Send back the result as mentioned inside the coding challenge mail
Coding guidance: Combine "clean, object-oriented code" with "working software".
- Take address-book.csv as data-source and parse it programmatically with Java. Do NOT use a csv parsing library, but code it on your own. You can focus to parse based on existing .csv file, no need to cover whole csv standard.
- Printout the result of
How many females are in the address book? - Printout the result of
Who is the oldest person in the address book? - Printout above results inside
exercise.Main.main(). - Ideally you write a few unit tests inside
exercise.AddressBookServiceTest.java. - Don't feel constrained to
Main.javaorCSVTest.java. You can structure, create further classes and rename things as you like.
- NO need to be Maven expert or adapt build, project harness and build is setup already.
- NO Javadoc necessary. Tests and self explaining code is sufficient.
What would you do if you had more time? Which trade-offs did you take?
- add a check to see if the file exists before reading it, throw a readable exception otherwise
- add validation checks for the received string from the file
Have fun!
