---
title: "Discussion on \"Leetcode 977. Squares of a Sorted Array\" | Hashnode"
description: "Discussion on \"Leetcode 977. Squares of a Sorted Array\". could you find an O(n) solution using a different approach?"
url: "https://hashnode.com/posts/leetcode-977-squares-of-a-sorted-array/65d513ac499ac25e6b70f028"
---

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

Discussion

# [Leetcode 977. Squares of a Sorted Array](https://jessieyu1.hashnode.dev/leetcode-977-squares-of-a-sorted-array?utm_source=hashnode&utm_medium=feed)

could you find an O(n) solution using a different approach?

Feb 20, 2024 · 2 min read · jessieyu1.hashnode.dev  
Read the article

-   [#arraymanipulation](https://hashnode.com/tag/arraymanipulation)
-   [#twopointerstechnique](https://hashnode.com/tag/twopointerstechnique)
-   [#leetcode](https://hashnode.com/tag/leetcode)
-   [#codinginterview](https://hashnode.com/tag/codinginterview)

## Written by

[Jessie Yu](https://hashnode.com/@jessieyu1)

@jessieyu1 · Australia

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

Software Engineer: Crafting Digital Solutions

Passionate developer from the land down under 🐨. Crafting clean and efficient code to solve real-world problems. With a keen eye for detail and a knack for problem-solving, I thrive in turning ideas into robust software solutions. Let's build something incredible together! #DeveloperLife #CodeCrafting"

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
