---
title: "Mayank Mahajan (@Mayank9056) | Hashnode"
description: "Backend-Focused Full Stack Developer. Read the latest articles by Mayank Mahajan on Hashnode."
url: "https://hashnode.com/@Mayank9056"
---

@Mayank9056

# Mayank Mahajan

@Mayank9056 · Maharashtra, India · Joined May 2025

Backend-Focused Full Stack Developer

[Website](https://www.mayank-mm.me/)

### [Producer-Consumer Problem: Understanding Semaphores Through a Simple Story](https://mayankdev.hashnode.dev/producer-consumer-problem-understanding-semaphores-through-a-simple-story?utm_source=hashnode&utm_medium=feed)

A bakery shelf, three semaphores, and the exact wait/signal order that keeps concurrent processes safe, explained from first principles.

4 min read · [mayankdev.hashnode.dev](https://mayankdev.hashnode.dev/producer-consumer-problem-understanding-semaphores-through-a-simple-story?utm_source=hashnode&utm_medium=feed)

[2d ago](https://hashnode.com/posts/producer-consumer-problem-understanding-semaphores-through-a-simple-story/6af1a4d5aefa45d19bbe5923)

### [Stop Solving Array Problems Randomly: 5 Patterns Every Developer Should Know](https://mayankdev.hashnode.dev/stop-solving-array-problems-randomly-5-patterns-every-developer-should-know?utm_source=hashnode&utm_medium=feed)

A practical guide to Two Pointers, Sliding Window, Prefix Sum, Kadane's Algorithm, and how to recognize the right pattern before writing code

12 min read · [mayankdev.hashnode.dev](https://mayankdev.hashnode.dev/stop-solving-array-problems-randomly-5-patterns-every-developer-should-know?utm_source=hashnode&utm_medium=feed)

[5d ago](https://hashnode.com/posts/stop-solving-array-problems-randomly-5-patterns-every-developer-should-know/6aedac9c062c45f442ef190e)

### [What Happens When You Turn On Your Computer? How an Operating System Boots Up](https://mayankdev.hashnode.dev/what-happens-when-you-turn-on-your-computer-how-an-operating-system-boots-up?utm_source=hashnode&utm_medium=feed)

A step-by-step walk from the power button to the login screen: firmware, POST, BIOS vs UEFI, GRUB, the Linux kernel, initramfs and systemd.

18 min read · [mayankdev.hashnode.dev](https://mayankdev.hashnode.dev/what-happens-when-you-turn-on-your-computer-how-an-operating-system-boots-up?utm_source=hashnode&utm_medium=feed)

[Oct 31](https://hashnode.com/posts/what-happens-when-you-turn-on-your-computer-how-an-operating-system-boots-up/6ae624ff9921c888136b15b8)

### [What Really Happens When You Run npm run dev? User Space vs Kernel Space Explained](https://mayankdev.hashnode.dev/what-really-happens-when-you-run-npm-run-dev-user-space-vs-kernel-space-explained?utm_source=hashnode&utm_medium=feed)

System calls, kernel types, and IPC explained simply, from your VS Code terminal down to the hardware.

11 min read · [mayankdev.hashnode.dev](https://mayankdev.hashnode.dev/what-really-happens-when-you-run-npm-run-dev-user-space-vs-kernel-space-explained?utm_source=hashnode&utm_medium=feed)

[Oct 28](https://hashnode.com/posts/what-really-happens-when-you-run-npm-run-dev-user-space-vs-kernel-space-explained/6ae1a46b98984ed606db98ff)

### [How Does Your Computer Run Everything at Once? Types of Operating Systems Explained](https://mayankdev.hashnode.dev/how-does-your-computer-run-everything-at-once-types-of-operating-systems-explained?utm_source=hashnode&utm_medium=feed)

A beginner-friendly guide to single-process, batch, multiprogramming, multitasking, multiprocessing, distributed, and real-time operating systems, with simple examples and comparisons.

8 min read · [mayankdev.hashnode.dev](https://mayankdev.hashnode.dev/how-does-your-computer-run-everything-at-once-types-of-operating-systems-explained?utm_source=hashnode&utm_medium=feed)

[Oct 26](https://hashnode.com/posts/how-does-your-computer-run-everything-at-once-types-of-operating-systems-explained/6adf2399559b843e07656357)
