Pregunta de entrevista de Hilti Group

Java, spring questions where a code should be written or completed and on run, the code should pass all the test cases they predefined.