---
title: "Discussion on \"Sliding Window Technique\" | Hashnode"
description: "Discussion on \"Sliding Window Technique\". ## Introduction\nThe sliding window technique is used for reducing some redundant calculations that slow down the program. like it can reduce time complexity from O(n^2) to O(n) with O(1) space complexity.\nWhy use it?\n First of all it reduce time copl..."
url: "https://hashnode.com/posts/sliding-window-technique/627aaf82f543e7a92b803f28"
---

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

Discussion

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

\## Introduction The sliding window technique is used for reducing some redundant calculations that slow down the program. like it can reduce time complexity from O(n^2) to O(n) with O(1) space complexity. Why use it? First of all it reduce time copl...

May 10, 2022 · 3 min read · iamprogrammer.hashnode.dev  
Read the article

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

## Written by

[ARTH PRAJAPATI](https://hashnode.com/@User64bit)

@User64bit

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

Debugging....

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
