码迷,mamicode.com
首页 >  
搜索关键字:in place    ( 1961个结果
Leetcode:Reorder List 单链表重排序
Given a singly linked list L: L0→L1→…→Ln-1→Ln, reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→… You must do this in-place without altering the nodes' values. For example, Given {1,2,3,4}, reorder it to ...
分类:其他好文   时间:2014-04-29 13:42:21    阅读次数:427
1961条   上一页 1 ... 195 196 197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!