Why do javascript methods have a faster runtime than writing out something similar

前端 未结 0 1310
生来不讨喜
生来不讨喜 2021-01-29 12:10

So I was doing some leetcode, and I wrote out a solution that was O(n). This solution was not bad but it looking at how it compared to other solutions I knew there was a faster

相关标签:
回答
  • 消灭零回复
提交回复
热议问题