Code Golf: Conditionally Add To An Array
Ruby’s expressiveness and vast API provides a myriad of ways to solve the same problem. This post proposes different ways to add elements to an array only if a certain condition applies.
https://dev.to/thegnarco/code-golf-conditionally-add-to-an-array-5291
Post a comment