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 划分链表。
本文转自博客园Grandyang的博客,原文链接:划分链表[CareerCup] 2.4 Partition List ,如需转载请自行联系原博主。