It's even funnier for me because analytic solutions exist. We expect people to have complete mastery of courses in in discrete math and algorithms but then pretend they don't know how to use a generating series for a linear recurrence.
To be honest I wouldn't expect anybody who isn't a specialist to be able to do that off the top of their head. The last time I heard the words "a generating series for a linear recurrence" was in college 10 years ago, and it hasn't been relevant to my software eng career since, including in interviews. I've had to dust off other parts of the math toolkit occasionally, but it's hard to justify analytical solutions in an environment where requirements are expected to change after your solution is live.
View all comments
Show parent comment
5
u/suddencactus 2d ago
It's even funnier for me because analytic solutions exist. We expect people to have complete mastery of courses in in discrete math and algorithms but then pretend they don't know how to use a generating series for a linear recurrence.