3 ms·It definitely is the idiomatic way. How would you do it otherwise? Recursion?by yakshaving_jgt 3y agoIt definitely is the idiomatic way. How would you do it otherwise? Recursion?