Skip to content

codeloopeu/interview-tasks-java

Repository files navigation

Java interview tasks

Build and test

./gradlew test

Tasks

Task 1

Implement findOddNumbers. Add tests. Think about all corner cases.

Task 2

Implement hasDuplicateChars. Add tests. Think about all corner cases.

Task 3

Implement mapBy. Add tests. Think about all corner cases. Tha about duplicates? Try to implement two versions of the algorithm - classic with for loop and the version with streams (hint: use new SimpleEntry<> (import java.util.AbstractMap.SimpleEntry), Collectors.toMap)

Task 4

Please try introduce new class or interfaces to build right hierarchy for vehicles. Hint: inheritance, composition, aggregation, composition.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published