---
title: "Discussion on \"Sliding Window Technique\" | Hashnode"
description: "Discussion on \"Sliding Window Technique\". Optimize nested loops by converting O(N^2) algorithms to linear O(N) using a sliding window."
url: "https://hashnode.com/posts/sliding-window-technique/6a45c4bb2ee2835fbebca002"
---

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

Discussion

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

Optimize nested loops by converting O(N^2) algorithms to linear O(N) using a sliding window.

Jul 2 · 1 min read · abstractalgorithms.hashnode.dev  
Read the article

-   [#sliding-window](https://hashnode.com/tag/sliding-window)
-   [#arrays](https://hashnode.com/tag/arrays)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#optimization](https://hashnode.com/tag/optimization)

## Written by

[Abstract Algorithms](https://hashnode.com/@abstractalgorithms)

@abstractalgorithms

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

Exploring the fascinating world of algorithms, data structures, and software engineering through clear explanations and practical examples.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
