recca chao 的 gitHub page

寫一些技術文件,筆記,雜七雜八

View on GitHub

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