Back in and studying LeetCode's DSA course 🧐
I did not do much coding for this session, rather, studying the material closely, absorbing as much as I can.
Today's topic was Sliding Window algorithms. (Look it up for an explanation!)
95% fully understood....[1 / 3]
Back in and studying LeetCode's DSA course 🧐
I did not do much coding for this session, rather, studying the material closely, absorbing as much as I can.
Today's topic was Sliding Window algorithms. (Look it up for an explanation!)
95% fully understood....[1 / 3]
This could be solved in a trivial & inefficient way by squaring nums, then sorting.
I spent a while trying to get to an O(n) solution instead - landed with something like this.
Enjoying LeetCode's DSA course - it's intriguing to work on these problems.
[OP on 24th Dec 2024]
This could be solved in a trivial & inefficient way by squaring nums, then sorting.
I spent a while trying to get to an O(n) solution instead - landed with something like this.
Enjoying LeetCode's DSA course - it's intriguing to work on these problems.
[OP on 24th Dec 2024]
Focusing on LeetCode's DSA course and after around 45mins of reading, I hit the first challenge.
Easy mode for now, I'm sure it will get much harder soon - I used a two pointer strategy for this.
[OP on Dec 23rd 2024]
Focusing on LeetCode's DSA course and after around 45mins of reading, I hit the first challenge.
Easy mode for now, I'm sure it will get much harder soon - I used a two pointer strategy for this.
[OP on Dec 23rd 2024]