---
title: "Discussion on \"This One Pattern Can Help You Reduce Time Complexity from O(n²) to O(n) - Learning Monotonic Stacks\" | Hashnode"
description: "Discussion on \"This One Pattern Can Help You Reduce Time Complexity from O(n²) to O(n) - Learning Monotonic Stacks\". LeetCode Problem 739 - Daily Temperatures."
url: "https://hashnode.com/posts/this-one-pattern-can-help-you-reduce-time-complexity-from-on-to-on-learning-monotonic-stacks/6857b93a51ec3b801f9947d9"
---

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

Discussion

# [This One Pattern Can Help You Reduce Time Complexity from O(n²) to O(n) - Learning Monotonic Stacks](https://sabithapaulraj.hashnode.dev/this-one-pattern-can-help-you-reduce-time-complexity-from-on-to-on-learning-monotonic-stacks?utm_source=hashnode&utm_medium=feed)

LeetCode Problem 739 - Daily Temperatures.

Jun 22, 2025 · 10 min read · sabithapaulraj.hashnode.dev  
Read the article

-   [#leetcode739](https://hashnode.com/tag/leetcode739)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#leetcode-solution](https://hashnode.com/tag/leetcode-solution)
-   [#monotonic-stack](https://hashnode.com/tag/monotonic-stack)

## Written by

[Sabitha Paulraj](https://hashnode.com/@sabithapaulraj)

@sabithapaulraj

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

brain-rot tech blogs

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
