Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed (Author was flagged for spam)

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Should I give up on trying to grasp non-trivial recursion and just come back to it later?
Post Body

I was looking at this recursive solution to a combinations problem, and this solution to a permutations problem. And I look at them, and even if I can convince myself that they work, I feel like I'd never be able to get remotely close to these solutions. Even Towers of Hanoi seemed unsolvable to me until I looked at the solution, which still feels uncomfortably like magic. Simple generative recursion to calculate factorials, Fibonacci sequence, even fractal graphics is intuitive enough to me, but feel like I simply don't have the cleverness to even come up with a working approach for these kinds of problems, let alone translate it into actual code. I mean, these are exercises for first year CS students (albeit at a prestigious college), surely they wouldn't simply be impossible for anyone of that level who's not a genius? I'm wondering if it's a waste of time beating my head against the wall waiting for an epiphany to happen.

Author
Account Strength
0%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
1,962
Link Karma
929
Comment Karma
1,015
Profile updated: 1 month ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago