有个leetcode 题目,五十多个测试用例,同样Java 代码,用toCharArray 耗时1ms,用charAt 耗时2ms。 我在本地用kotlin 试了一下,结果又是反过来了。
確定! 回上一頁