DS&Algorithms

DS&Algorithms
@DSACreated Oct 2025DevTools
5 posts19 reactions9 comments
Cracking inefficiencies one algorithm at a time.
5

Moderated by

Posted in DS&Algorithms group
yogirahul Apr 15 in Tutorials 1 min read
Most people think this is a “simple” problem. Reverse an array. But there are actually two very different ways to think about it Approach 1: Let Python do the work arr::-1 That’s it. Looks clean. Works instantly. But under the hood: In ...
post-cover-14871
Posted in DS&Algorithms group
yogirahul Oct 26, 2025 in Articles 2 min read
In DSA, some of the most elegant solutions come from simple ideas applied smartly. One such gem is Prefix Sum — a concept that can turn a brute force problem into an efficient one-liner. Think of prefix sum like a running total that saves you from r...
post-cover-6886
Posted in DS&Algorithms group
yogirahul Oct 8, 2025 in Articles 2 min read
Array rotation is one of those deceptively simple problems that reveal how well you really understand arrays and modular arithmetic. Let’s explore intuitive, language agnostic ways to perform left and right rotations efficiently, without getting lost...
post-cover-6219
Posted in DS&Algorithms group
yogirahul Oct 4, 2025 in Articles 1 min read
When we write algorithms, one of the key things to think about is how much memory our solution needs. You might have heard terms like “in-place” and “extra space” — but what do they really mean? Let’s break it down simply In-Place Algorithms An i...
post-cover-6037
Posted in DS&Algorithms group
yogirahul Oct 2, 2025 in Tutorials 2 min read
When we start learning to code, we often get excited about solving problems that work. But as we move forward, writing code that just works isn’t enough, we also need to think about how well it works. That’s where time and space complexity1 come in. ...
Help get things started by publishing a post.
chevron_left

Welcome to DSA group, let's code and conquer.