Skip to main content

Command Palette

Search for a command to run...

Day 24 💬 Restarting Strings – A Soft Comeback (No Pressure Day)

Published
3 min read
Day 24 💬 Restarting Strings – A Soft Comeback (No Pressure Day)
R

Hi, I’m Richa — a Senior Frontend Engineer with 5+ years of experience building scalable, production-grade web interfaces for enterprise and consumer applications. I work primarily with React, TypeScript, and modern frontend architectures, focusing on component systems, performance, and maintainability. Most of my experience comes from building real-world products in regulated domains like banking and insurance, where clarity, reliability, and long-term ownership matter more than quick demos. Through this blog, I write about frontend engineering fundamentals, scalable UI design, problem-solving, and the lessons I’ve learned working on large codebases. My goal is to share practical insights — not shortcuts — for developers who want to grow strong engineering foundations. I also mentor early-career developers and strongly believe that curiosity, asking the right questions, and understanding why something works are more important than memorizing tools. If you’re serious about improving as an engineer, you’re in the right place.

Hello everyone 👋✨

Welcome to Day 24 of our DSA journey.

And today… we’re doing something important but gentle.

👉 We are restarting STRINGS.

Not jumping.
Not rushing.
Not panicking.

Just a calm brush‑up day 🧠☕


🤍 Why Restart Strings?

Let’s be honest for a second.

Strings are everywhere:

  • User names

  • Passwords

  • Messages

  • Search bars

  • Input validation

  • Interviews 😬

And still… they somehow manage to confuse us.

“Substring ka logic yaad tha, par exam mein blank ho gaya.”

If this sounds familiar — welcome to the club 😄

TV gif. Scott Aukerman on Comedy Bang Bang looks at us while wearing a boat captain’s hat. He waves his hand up and smirks as he says, “Welcome aboard.”


🧹 Today Is NOT a Practice Day

Yes, you read that right.

📌 Day 24 is only for brushing up concepts.

No heavy questions.
No pressure.
No "solve 10 problems today" drama.

Just understanding:

  • What strings are

  • How we think about them

  • How we’ll approach them going forward

Tomorrow onwards — real practice begins 💪🔥


🧩 So… What Is a String?

A string is simply:

A collection of characters stored together.

Examples:

  • "hello"

  • "Richa"

  • "DSA_is_fun"

Behind the scenes:

  • Strings are arrays of characters

  • But behave a little differently (immutability 👀)

Think of a string as:

A sentence where each letter has a seat number.

Celebrity gif. Rapper Amine holds two hands up to his head and opens them in an exploding gesture as a cartoon mushroom cloud emerges from the top of his head.


🧠 What We Will Cover in Strings (Roadmap)

We’ll go step by step, no skipping foundations.

🌱 Phase 1 – Simple & Easy

  • String length

  • Accessing characters

  • Reverse a string

  • Palindrome check

  • Count vowels & consonants

  • Case conversion

(Confidence builders ✨)


🌿 Phase 2 – Easy to Medium

  • Frequency of characters

  • Anagrams

  • Remove duplicates

  • Longest word

  • String comparison

  • Basic pattern matching

(Logic starts kicking in 🧠)


🌳 Phase 3 – Medium to Hard (Later)

  • Longest substring without repeating characters

  • Sliding window technique

  • String compression

  • Valid parentheses

  • Rotation checks

(Brain workout zone 💪)


🔥 Phase 4 – Hard & Expert (Not Today 😌)

We’ll touch these later, when basics are solid:

  • KMP Algorithm

  • Rabin‑Karp

  • Z‑Algorithm

  • Advanced pattern matching

No hurry. We’ll reach there.

Playing Black And White GIF


🧘 Today’s Mindset

Today is about saying:

“I’m allowed to restart.”

Restarting doesn’t mean you failed.
It means you care enough to build strong basics.

And trust me — strings reward clarity.


🚀 From Tomorrow (Day 25)

  • Daily string problems

  • Easy first

  • One concept at a time

  • No rushing to expert level

Consistency > speed.

Coding Give A Little GIF


💬 Final Note

If today felt slow — good.
If today felt boring — normal.

This calm day will make tomorrow easier.


📣 If this helped you:

❤️ Like
💬 Comment your favorite string problem
🔁 Share with your DSA partner
➕ Follow for Day 25 – String Practice Begins 🔥

See you tomorrow 👋
Happy learning ✨