摘要:
```Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattene... 阅读全文
摘要:
首先向Doug Lea致敬。# CLH以下是CLH锁的一个简单实现:```javaclass SimpleCLHLock { /** * initialized with a dummy node */ private Node dummy = new Node(); ... 阅读全文