Master Linked Lists for Coding Interviews: 8 Must-Solve LeetCode Problems

Image
  Master Linked Lists for Coding Interviews: 8 Must-Solve LeetCode Problems ⏱️  Estimated reading time: 16 minutes When you think about how software engineers work with data, they will tell you that data rarely behaves in an organized pattern (like a neat row of boxes); instead, data tends to grow, shrink, move around, and be very demanding regarding its flexibility. Linked lists were designed to solve this problem. A linked list is a linear data structure in which each piece of information called a node has two parts: 1) The piece of information that you want to store and 2) The address or reference to the address of the next node in the list so that the first and second nodes are linked together. Linked lists do not store the nodes in contiguous memory, thus eliminating time-consuming processes because insertion or deletion of nodes does not consist of shifting large numbers of nodes. Because linked lists are dynamic by nature, linked lists are used extensively withi...

Make It Obvious: The Invisible Rule That Controls Every Habit You Build

 

Blog 7: Habits Don’t Start Big — They Start Invisible.
“You don’t fail to build habits because you’re lazy — you fail because you didn’t see them begin.”


🧠 What’s pulling your strings without you noticing?

You pick up your phone.
You scroll.
You binge.
And you don’t even remember starting.

That’s the power of the cue — the invisible spark behind every habit, good or bad.
Law 1 of Atomic Habits: Make it obvious.
Let’s break it down, not like a textbook — but like how you and I live it.


🎯 PART 1 — Notice it before you can fix it

Most of us try to change habits like we’re fixing the output.
But the real switch? It flips when you notice the input.

That’s the cue — the moment before the moment.

πŸ’‘ How to catch a habit in the act?
Use what I call the Call-Out-Loud Method
Whenever you catch yourself doing something on autopilot, say it aloud:
“I’m unlocking my phone without reason.”

It sounds silly — but it brings the unconscious into the light.
And that’s where habits lose their invisible shield.


πŸ“‚ PART 2 — Plan it. Stack it. Make it automatic.

Once you’ve caught the cue, now you train it — like a pet.

πŸ”Έ Rule 1: Give it a timestamp and a home
“I will [do this] at [time] in [place].”

This removes friction.
This removes "kal dekhte hain".

Example:
“I’ll revise Physics at 7 PM on the dining table.”

πŸ”Έ Rule 2: Stack it like Jenga
“After [existing habit], I will [new habit].”

Example:
“After brushing, I’ll drink a full glass of water.”

Why does this work?
Because your brain already trusts the first habit — and it pulls the second along.


πŸ“ PART 3 — Environment isn’t background. It’s the stage.

Habits don’t exist in a vacuum.
They’re planted in the soil of your surroundings.

🌱 Here’s the golden rule:
Assign one purpose to one space:
- Bed → sleep
- Desk → work
- Dining table → eat

Mixed environments = mixed focus = broken flow

If a place is confusing your brain, don’t fight harder — redesign smarter.


❌ PART 4 — Want to break a habit? Starve the cue.

You don’t need more motivation.
You just need less exposure.

Try this:
- Console goes in the cupboard
- YouTube tab gets removed from your bookmarks
- Junk food? Out of the house

Out of sight.
Out of reach.
Out of loop.

That’s how bad habits starve.


πŸ—Ί The Real Shift?

Most people chase the reward.
Smart people control the cue.

Because when you see the start,
you don’t lose control of the middle.


✒️ Closing Whispers πŸ–Š️
What triggers us is rarely loud,
It hides beneath the daily crowd.
But those who sense its quiet sound,
Reclaim the ground where they were bound.


πŸ“– Missed the previous part? Read Blog 6 here:
The Art of Making Habits Attractive – Blog 6
πŸ‘€ What’s next?
InπŸ“˜ Up Next: Blog 8 – “Make It Attractive: 3 Dopamine Hacks to Crave Your Habits”
Read Now Because what you crave isn’t the habit — it’s the feeling behind it.
πŸ’¬ Like this blog?
Tap the button below to get updates whenever I post:

Comments

Popular posts from this blog

Jee Honest Journey

The hidden price of starting late for the exams like JEE

Time and Space Complexity Explained: A Practical Guide with Python Examples