Skip to content

Bug Report for products-of-array-discluding-self #4327

Open
@benjaminclauss

Description

@benjaminclauss

Bug Report for https://neetcode.io/problems/products-of-array-discluding-self

Follow-up: Could you solve it in $O(n)$ time without using the division operation?

This confused me for ~10 minutes.
I think the Time Complexity lecture or this problem may benefit from explicitness with respect to auxiliary space usage vs. output space usage.

In standard algorithm analysis, space complexity does not include the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions