DEV Community

Discussion on: Daily Challenge #199 - List of All Rationals

Collapse
 
mellen profile image
Matt Ellen

My main issue with this solution is that it will eventually run out of space (for every rational I yield, I add two more to the list). I think it must be possible to write a solution that doesn't maintain a list of rationals.