Workday interview question

Java concurrency, data structure and algorithm