How to make C Run Time less than 4ms? I saw a few people made it. If you know the method, please tell me. Thank you very much!
Chapter 10 of Beautiful Code: Leading Programmers Explain How They Think may help you. That's a good review of this problem.
Thank you for your recommendation. The book is very interesting.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.