---
title: "Discussion on \"The Sliding Window Technique\" | Hashnode"
description: "Discussion on \"The Sliding Window Technique\". What is a Sliding Window? What does it have to do with programming? Why was it even named “Sliding Window” in the first place? All you have to do is just read.\nYou might’ve come across LeetCode problems like Maximum Average Subarray, Max Consecutive ..."
url: "https://hashnode.com/posts/the-sliding-window-technique/68114aaa8549ba0e03bc3b11"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Sliding Window Technique](https://sempaicodesandstuff.hashnode.dev/the-sliding-window-technique?utm_source=hashnode&utm_medium=feed)

What is a Sliding Window? What does it have to do with programming? Why was it even named “Sliding Window” in the first place? All you have to do is just read. You might’ve come across LeetCode problems like Maximum Average Subarray, Max Consecutive ...

Apr 29, 2025 · 5 min read · sempaicodesandstuff.hashnode.dev  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#coding](https://hashnode.com/tag/coding)
-   [#dsa](https://hashnode.com/tag/dsa)

## Written by

[Sohom Roy](https://hashnode.com/@sempaiCodes)

@sempaiCodes

  
[View profile](https://hashnode.com/@sempaiCodes)

I make blogs on AI/ML and problem solving :)

## Responses 1

Markdown supported · ⌘↵ to post

[Subhradip Sinha](https://hashnode.com/@DipSubhro)

[May 14, 2025](https://hashnode.com/posts/the-sliding-window-technique/68114aaa8549ba0e03bc3b11/comment/68247b916ddd492eb718c415)

Well written buddy
