This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Topics - t4
« on: November 29, 2014, 10:59:09 PM »
Given a number N, print the range [1-N] and (N-1] (in that order) using only one recursive function. Bonus points for no use of loops, using only one function argument, and no global or class variables.
i guess i should also clarify that structs, arrays, tuples and all data structures break the 'only one variable' rule.