r/leetcode • • Jun 15 '25

Intervew Prep One year of leetcode

Post image

Definitely more than I need for algo sections.

1.9k Upvotes

161 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Jun 15 '25

I have never taken any math past calculus and can do space/time complexity in my sleep. You don’t need linear algebra or discrete mathematics for this?

2

u/24Gokartracer Jun 16 '25

Yeah I’d argue ultimately it’s really just logical understand and basic algebra… Like okay if I go through this loop N times and N times again that’s N2

If I go through this loop N times then it’s N etc.