摘要:
The basic idea is as follows:Create anew_headthat points toheadand use it to locate the immediate node before them-th (notice that it is1-indexed) nod... 阅读全文
posted @ 2015-09-01 23:55
jianchao-li
阅读(159)
评论(0)
推荐(0)
摘要:
This link has a very neat code, which is rewritten below using stacksince thepushandpopoperations of it areO(1)time, while thepop_backandpush_backofve... 阅读全文
posted @ 2015-09-01 21:20
jianchao-li
阅读(213)
评论(0)
推荐(0)

浙公网安备 33010602011771号