p3l6.dev|

Embracing Algorithms

<<Back to Index

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