WukongRework.exe
07/24/2023, 8:48 PMrunningReduceRight
and `runningFoldRight`/`scanRight` for symmetry with the reduce
and reduceRight
/ fold
and foldRight
functions. Is there a technical reason behind this? I often find myself ad-hoc-ing foldRight
to be a scanRight
for LeetCode and other competitive programming problems.