first commit

This commit is contained in:
douboer
2026-09-30 15:05:17 +08:00
commit 34cf39dfe3
1288 changed files with 118174 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
###
### partitions
###
## Chapter 5 section 2
# Compare two partitions for preferred order
sub partitions {
for my $i (0 .. $#$a) {
my $cmp = $b->[$i] <=> $a->[$i];
return $cmp if $cmp;
}
}