1
1
1
u/Ok-Yesterday-4140 Sep 10 '26
for me its sliding window
1
u/vinzzii Sep 10 '26
Actually it's not this hard to learn when you know set and hashmap sliding window is so easy
1
u/managerEfficient2767 Sep 10 '26
I was going to reply something else, but my mind is stuck on infinite recursion, lol
1
1
u/momo_inhaler Sep 11 '26
this has to be top 3 humbling experince in life
1
u/vinzzii Sep 11 '26
It have been that way broo ⚰️ till now I can't solve complex backtracking prblms by myself
1
u/momo_inhaler Sep 11 '26
that makes two of us!!
1
u/vinzzii Sep 11 '26
Actually I can't get the trackk of those patterns so hard for normall ppl may be we should have born has an genius
1
u/momo_inhaler Sep 15 '26
nah that's same for me, i'm bit avg in this too but i'm willing to put all efforts
1
1
1
1
1
1
1
u/The_Goat_1717 Sep 10 '26
Honestly compressing entire recursion tree in a simple formula feels like magic to me
1
1
Sep 09 '26
[removed] — view removed comment
2
u/vinzzii Sep 10 '26
It was definitely worth it the frst time i learned n queens on leet code i just got mesmerized by the way that the code was written probably one of the best moments of studying dsa
2
u/Total-Solution-1472 Sep 10 '26
OMG that moment when your code finally runs without any bugs .. It feels like heaven on earth
2
u/vinzzii Sep 10 '26
Absolutely bruhhh it's just amazing and when wrote the logic by yourself and O(N) nothin feels better than that
2
2
u/chaipijiye Sep 09 '26
Base case missing🤣