Hi Leetcode,
The 1.3 kotlin version is very old, a lot of collection function is only availabe in v1.4 and after. So please upgrade the kotlin to the latest version.
For example, the scan, runningFold etc function in collection are only availaben after v1.4.