Back to Browse

My DSA Journey Day 2 🌸 Solving Two Sum in Python

24 views
May 9, 2026
4:30

🌸 Day 2 of my DSA journey Today I solved the famous Two Sum problem in Python. At first, I only understood loops, so I tried solving the problem using nested loops step by step. Before coding, I wrote the logic in my notebook first because it helps me understand programming more clearly. Later, I learned about hash maps and how they can solve the same problem in a faster and smarter way ⚡ This video is part of my beginner coding journey where I’m learning: ✨ Python ✨ DSA ✨ Problem Solving ✨ Coding Logic 💻 Problem: Find two numbers whose sum equals the target value and return their indices. 📚 What I learned today: * Nested loops * Brute force approach * Hash maps * Thinking step by step * Writing logic before coding If you're also starting DSA from scratch, let’s learn together 🌙 #python #dsa #leetcode #twosum #coding #studywithme #programming #developerjourney #pythonforbeginners #aesthetic #codinggirl

Download

0 formats

No download links available.

My DSA Journey Day 2 🌸 Solving Two Sum in Python | NatokHD