[CareerCup] 2.4 Partition List 划分链表

 

2.4 Write code to partition a linked list around a value x, such that all nodes less than x come before all nodes greater than or equal to x.

 

LeetCode上的原题,请参见我之前的博客Partition List 划分链表

posted @ 2015-07-20 12:57  Grandyang  阅读(792)  评论(0编辑  收藏  举报
Fork me on GitHub