---
title: "Virat Srivastava (@virat-sr) | Hashnode"
description: "Virat Srivastava (@virat-sr) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@virat-sr"
---

@virat-sr

# Virat Srivastava

@virat-sr · Joined October 2024

### [🍕 Spring Boot Basics: Your First REST API (with Employees as Pizza Orders!)](https://javaspringbootmastery.hashnode.dev/spring-boot-basics-your-first-rest-api-with-employees-as-pizza-orders?utm_source=hashnode&utm_medium=feed)

Learn Spring Boot by building your first REST API with employee data as pizza orders. Set up, create DTOs, and build controllers

3 min read · [javaspringbootmastery.hashnode.dev](https://javaspringbootmastery.hashnode.dev/spring-boot-basics-your-first-rest-api-with-employees-as-pizza-orders?utm_source=hashnode&utm_medium=feed)

[Sep 22, 2025](https://hashnode.com/posts/spring-boot-basics-your-first-rest-api-with-employees-as-pizza-orders/68d0cb91d9df71863930f2eb)

### [Number of People Aware of a Secret (LeetCode 2327) — From Recursion to DP](https://leetcodevirat.hashnode.dev/number-of-people-aware-of-a-secret-leetcode-2327-from-recursion-to-dp?utm_source=hashnode&utm_medium=feed)

📌 Problem Statement On day 1, one person discovers a secret. Each person can start sharing the secret after delay days. Each person forgets the secret after forget days. Once a person forgets, they cannot share anymore. We need to calculate how...

5 min read · [leetcodevirat.hashnode.dev](https://leetcodevirat.hashnode.dev/number-of-people-aware-of-a-secret-leetcode-2327-from-recursion-to-dp?utm_source=hashnode&utm_medium=feed)

[Sep 9, 2025](https://hashnode.com/posts/number-of-people-aware-of-a-secret-leetcode-2327-from-recursion-to-dp/68bfd2c0ceffba3c6e57a66d)

### [Understanding \`this\` in JavaScript: Arrow Functions vs Function Keyword](https://viratcodesjs.hashnode.dev/understanding-this-in-javascript-arrow-functions-vs-function-keyword?utm_source=hashnode&utm_medium=feed)

Learn the key differences between arrow functions and regular functions in JavaScript, especially how they handle 'this'. With code examples, fixes, and ana

3 min read · [viratcodesjs.hashnode.dev](https://viratcodesjs.hashnode.dev/understanding-this-in-javascript-arrow-functions-vs-function-keyword?utm_source=hashnode&utm_medium=feed)

[Sep 8, 2025](https://hashnode.com/posts/understanding-this-in-javascript-arrow-functions-vs-function-keyword/68be7fade91399f9b3962102)

### [Challenge 10: Interactive Memory Card Game](https://chaicode-dom-manipulation.hashnode.dev/challenge-10-interactive-memory-card-game?utm_source=hashnode&utm_medium=feed)

Understanding the Interactive Memory Card Game 🂫 This game is built using JavaScript and involves DOM manipulation, event handling, and logic for game functionality. Let's go step by step to understand how it works. 1. Understanding the Game Logic ...

5 min read · [chaicode-dom-manipulation.hashnode.dev](https://chaicode-dom-manipulation.hashnode.dev/challenge-10-interactive-memory-card-game?utm_source=hashnode&utm_medium=feed)

[Mar 1, 2025](https://hashnode.com/posts/challenge-10-interactive-memory-card-game/67c2a1f1e46623c95c99fc27)

### [Challenge 9: Sliding Menu 🪟](https://chaicode-dom-manipulation.hashnode.dev/challenge-9-sliding-menu?utm_source=hashnode&utm_medium=feed)

Learning DOM Manipulations DOM (Document Object Model) manipulation allows us to dynamically change content, styles, and behavior in a webpage using JavaScript. Your code demonstrates several important concepts related to DOM manipulation. Let's brea...

2 min read · [chaicode-dom-manipulation.hashnode.dev](https://chaicode-dom-manipulation.hashnode.dev/challenge-9-sliding-menu?utm_source=hashnode&utm_medium=feed)

[Mar 1, 2025](https://hashnode.com/posts/challenge-9-sliding-menu/67c2a1a0639f741a27de7a19)
