摘要:
My first version brute force solution just switch the chars one by one and compare with the max value. The time complaxity is O(n2). public int maximu 阅读全文
posted @ 2022-02-07 15:02
阳光明媚的菲越
阅读(43)
评论(0)
推荐(0)
摘要:
When I got this problem, I used one Deque and one map to solve it, the solution is as following, the time complexity of get() and put() is O(n), n is 阅读全文
posted @ 2022-02-07 11:31
阳光明媚的菲越
阅读(42)
评论(0)
推荐(0)
浙公网安备 33010602011771号