SharingSource / LogicStack-LeetCode

公众号「宫水三叶的刷题日记」刷穿 LeetCode 系列文章源码

Home Page:https://acoier.com/about/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于440这题的时间复杂度

Wang-Yu-Qing opened this issue · comments

getCnt我能理解是log10(n),但主函数的循环为什么也是log10(n)次呢?为什么和k无关?