MCPcopy Create free account
hub / github.com/VAR-solutions/Algorithms / pancakeSort

Function pancakeSort

Sorting/Pancake Sorting/php/pancake_sort.php:35–66  ·  view source on GitHub ↗

The main function that sorts given array using flip operations

(&$arr, $n)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

pancake_sort.phpFile · 0.70

Calls 2

findMaxFunction · 0.70
flipFunction · 0.70

Tested by

no test coverage detected