摘要:
```Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattene... 阅读全文
posted @ 2015-06-30 21:18
卖程序的小歪
阅读(139)
评论(0)
推荐(0)
摘要:
首先向Doug Lea致敬。# CLH以下是CLH锁的一个简单实现:```javaclass SimpleCLHLock { /** * initialized with a dummy node */ private Node dummy = new Node(); ... 阅读全文
posted @ 2015-06-30 01:10
卖程序的小歪
阅读(499)
评论(0)
推荐(0)