[CareerCup] 2.4 Partition List 劃分連結串列

Grandyang發表於2015-07-20

 

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 劃分連結串列

相關文章