yeah. actual code is more complicated though: mul...
# stdlib
n
yeah. actual code is more complicated though: multiple conditions that determine if additional items need to be added. The
flatMap
approach at least makes it clear that the lambda constructs a list of items for every item, so that is what I chose so far.