---
title: "Discussion on \"LeetCode 238: Product Of Array Except Self — Step-by-Step Visual Trace\" | Hashnode"
description: "Discussion on \"LeetCode 238: Product Of Array Except Self — Step-by-Step Visual Trace\". Given an integer array nums, return an array where each element is the product of all elements in the original array except the element at that index. The solution must run in O(n) time without using division."
url: "https://hashnode.com/posts/product-of-array-except-self-visualization/69d7d27ab3157a36ebc026e2"
---

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

Discussion

# [LeetCode 238: Product Of Array Except Self — Step-by-Step Visual Trace](https://blog.tracelit.dev/product-of-array-except-self-visualization?utm_source=hashnode&utm_medium=feed)

Given an integer array nums, return an array where each element is the product of all elements in the original array except the element at that index. The solution must run in O(n) time without using division.

Apr 9 · 1 min read · blog.tracelit.dev  
Read the article

-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[tracelit](https://hashnode.com/@tracelit)

@tracelit

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
