Fork this repository, and update the README.md link to Gitpod below to use your Github fork public link.
This is a project to test your algorithms, Java, and SQL. You will be writing some utility functions, parsing a csv file, writing some logic, reading a SQL database (H2) schema, and writing some SQL.
Read over this file: src/main/java/com/hologramsciences/Algorithms.java
-
Implement cartesianProductForLists
-
Implement countNumWaysMakeChange
Read over this file:
src/main/resource/rest_hours.csv
-
Implement parse
-
Implement getOpenRestaurants(final DayOfWeek dayOfWeek, final LocalTime localTime)
Read over these files:
Schema: src/main/resource/schema.sql Data: src/main/resource/data.sql
- Implement getOpenRestaurants
- Implement getRestaurantsWithMenuOfSizeGreaterThanOrEqualTo
As a bonus you can show your skills with learning a new library.
Jooq (https://www.jooq.org) is a Java library that makes writing SQL easier and more typesafe. You will re-implement the methods in SQLRestaurantService, but using the Jooq DSL (Domain specific language.
- Implement getOpenRestaurants
- Implement getRestaurantsWithMenuOfSizeGreaterThanOrEqualTo
You can run the tests using Intellij/Eclipse or run this from the command line:
mvn test
Make sure to update README.md link to open Gitpod to use your Github fork public link.
Reply to email with a link to your Github fork.