Beekeeper interview question

Implement a Java solution for a certain problem