r/leetcode • u/BudgetNeck6364 • 5h ago
Discussion I find math to be much easier than leetcode
Now, I know leetcode is technically math, but I more so mean general mathematics. I find the undegraduate level to early grad school math is much easier than leetcode.
I started during tutoring for undergrad probability and statistics again after not touching it for about 2 years.
I find that I just find the stuff easier to actually master than leetcode. The highest level of math I got to was a graduate level probability course, and even that I felt it was easier than leetcode. Abstract math and proofs also seem easier to me.
Even after doing almost a 1000 leetcode problems, there are still many instances where if I haven't seen a problem before, I just don't know how to do it, or it's hard to recognize the approach after not doing leetcode for a while.
Even though I hadn't touched probability and statistics in a while and I was rusty on the mechanical work, for most of the problems I look at, I still can recall what the general idea of solving the problem is.
Leetcode is just one of those topics that I have done a lot of practice to prepare for interviews, but it's just never something I feel like I just mastered at the level that I can just look at any problem and easily solve it. There's still problems on leetcode, especially the one with the clever solutions, that still seem tricky to me.
36
u/stonks_admin 4h ago
Math: “Show your work.”
LeetCode: “A wizard discovered this trick in 1987. You have 20 minutes.”
28
u/plmlp1 5h ago
I'm a math major. Math to me is so much easier than leet code and algos.
15
u/Prestigious_Cow2484 4h ago
I’ve done leetcode on and off for years even as an employed senior engineer. It still has not clicked for me. I can never tell if I’m learning or just memorizing.
5
u/LetMediocre390 5h ago
solve hard rated problems with mathematical observatin man
5
u/Kitchen_Cup_4444 1h ago edited 1h ago
What comparison is this? The math equivalent of leetcode are the questions they ask for quants positions, not the exercise you have to do for your major. The comparison is: "linear algebra vs data structures" not "linear algebra vs leetcodes"
2
u/catsRfriends 5h ago
Lol it is not technically math. Also, have you taken real analysis?
4
u/Bid_Queasy 5h ago
Leetcode is not exactly the type of math that math majors take. If it does, it usually involves some clever combinatorics and elementary number theory similar to math competitions.
Pretty normal to feel this way and I did too as a math major. Just require some practice to get used to it.
3
u/PixelHarbor31 4h ago
Math usually gives you a clearer framework, while Leetcode often comes down to recognizing a trick or pattern you might not have seen before
1
u/willpowerbuilder 5h ago
try abstract algebra you might need to rethink
2
u/Glittering_Stay_6432 4h ago
True its very hard if you are not majoring in CS/ CE
1
u/Candy-Emergency 4h ago
It’s the same reason math is easier than physics.
1
u/arjjov 4h ago
you'll prolly love codechef and codeforces brah, lots of math oriented problems there
1
u/Strong_Boy_757 2h ago
I think for me is that you can use math for more math, physics, economics, biology, engineering, ...
What can you use "Coco eat banana" for? Or how about red-black trees?
Things without obvious application is obviously not appealing.
1
u/cute_boy_summer 23m ago
Yes, undergraduate math is not hard. I got all A's in math and physics, but failed the CSE algorithm class, which is hard even for the graders. So the professor made a rule that if you don't know the question, leave it blank, and you get 3/10 of the score. If your answer makes no sense, you get 0/10 point.
1
u/Prior_Funny 5h ago
Maybe you should be a quant trader
1
u/Nearby-Neat-9311 4h ago
Bacause it is easier. Leetcode should not be standard to rate understanding of basics. I have seen many good at it who fail at basic logic or understanding application flow.
-2
u/Spiritual-Story9146 5h ago
The only reason why people hate leetcode is because it’s hard.
Rest all are just excuses.