ByteDance interview question

HashMap OOP and Course Schedule II