ers.land|

Embracing Algorithms

splits an array into two parts, maintaining order of each

halfStablePartition stablePartition

To improve code quality: No raw loops

Replace all loops with general algorithms from a library. If one does not exist, create it generically