Problem 10
Description
This problem was asked by Apple.
Implement a job scheduler which takes in a function f
and an integer n
, and calls f
after n
milliseconds.
Kotlin Solutions
這一題是觀念題,有很多可以討論的空間
參考資料
https://stackoverflow.com/questions/55642383/calling-a-function-with-delay