Wasoko interview question

Java data structure algorithm design