TrigoTao

Results 2 issues of TrigoTao

The code used recursion, the space may be O(n). I searched for the O(1) solutions, and found that they all use morris traversal to satisfy O(1) space complexity. So, the...

When I looked into XXXX:28017, sometimes I found that "Query: { ismaster: 1 }" may show up and the connection never be closed. I should have closed the connection and...