scanLeft and scanRight, a Scala language concept
Last updated
Scala's `scan` functions enable you to do folds like foldLeft and foldRight, while collecting the intermediate results
Last updated
Scala's `scan` functions enable you to do folds like foldLeft and foldRight, while collecting the intermediate results
Fully unit-tested, with explanations and relevant concepts; new algorithms published about once a week.
To save you going through various tutorials, we cherry-picked the most useful Scala concepts in a consistent form.
Maximize your Scala with disciplined and consistently unit-tested solutions to 100+ algorithms.
Use it from improving your day-to-day data structures and Scala; all the way to interviewing.