Day 1 – Before DSA, Let’s Rewind Python

Today marks the beginning of this journey not just for me, but hopefully for us.
Before jumping straight into Data Structures and Algorithms (DSA), I took a step back and did something very important:
I recalled the essential Python concepts that form the base for learning DSA effectively.
Because what’s the point of learning DSA in Python… if we can’t write good Python?
What I Revisited Today:
Here’s a quick rundown of the Python topics I brushed up on:
Variables and Data Types (int, float, string, list, tuple, dict, set)
Conditional Statements (
if
,elif
,else
)Loops (
for
,while
)Functions (parameters, return values)
Lists and basic operations (append, remove, slicing)
Dictionaries and sets
String operations
Basic input/output
List comprehensions (super useful later in DSA)
Why This Matters
These concepts are the tools we’ll use every day while solving DSA problems.
DSA isn’t just about logic it’s about writing that logic clearly, efficiently, and in a way Python understands.
So today was all about setting the foundation.
What’s Next?
From tomorrow, we’ll begin diving into DSA topics starting with:
Arrays and Lists (Yes, even though Python doesn't have "arrays" like C/C++, we’ll explore how lists serve that purpose and go beyond!)
If you’re joining me on this journey, now’s a great time to revisit your Python basics too.
Let’s make sure we’re sharp and ready to go.
See you tomorrow with Day 2. Let’s explore DSA together
Subscribe to my newsletter
Read articles from Suneel directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
