# Find the Maximum Product Subarray in a Given Array

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/1126/maximum-product-subarray
Source observed: 2026-11-05T00:29:18.127Z
Last checked: 2026-11-05T00:29:18.127+00:00
Indexed: 2026-11-06T05:25:42.705+00:00

---

# Find the maximum product subarray in a given array.

This Aced question page is an interview-practice prompt for software engineering candidates. The page asks you to find the maximum product subarray in a given array. The prompt itself does not include an input/output specification, examples, constraints, or a worked solution.

- **Question ID:** 1126
- **Role:** [Software Engineer](https://www.aced.io/questions?role=swe)
- **Company shown:** [Apple](https://www.aced.io/questions?company=apple)
- **Interview history:** 1 interview; reported last asked 3 years ago
- **Community answers:** None contributed yet

## Access and answering

Detailed company statistics require an upgrade: [Upgrade](https://www.aced.io/upgrade?src=questions). The page provides an answer area; submitting an answer marks the question complete. The rendered interface asks users to log in or sign up to answer.

## Related questions

- [Find the maximum subarray product](https://www.aced.io/questions/5170/find-the-maximum-subarray-product)
- [Find the maximum length sub-array with a given sum.](https://www.aced.io/questions/1115/find-maximum-length-sub-array-with-given-sum)
- [Find the maximum subarray sum.](https://www.aced.io/questions/973/maximum-subarray-sum)

## Related courses

### [Software Engineering Interview Prep](https://www.aced.io/courses/software-engineering)

We help candidates prepare for software engineering roles at Google, Amazon, Microsoft, Meta, Apple, and other top companies through mock interviews, frameworks, senior-candidate advice, and practice in data structures, algorithms, system design, people management, behavioral interviews, and more.

![Software Engineering Interview Prep](https://images.ctfassets.net/x78yjrjc11pq/4VkuYewBHUFIVUS5oJDW5h/02e833439b1289f25f38f13f81cbdca3/adobe_stock_optimized.jpeg?w=800&h=800&fm=webp&q=75)

### [System Design Interviews](https://www.aced.io/courses/system-design-interviews)

We teach candidates how to answer current system-design questions across product, infrastructure, and AI domains with in-depth video examples, written breakdowns, reference patterns, and mock-interview videos featuring senior engineers and managers.

![System Design Interviews](https://images.ctfassets.net/x78yjrjc11pq/78x7miFZFjBCrM5GqftrMJ/2f6d26e632c4e7265c49f6a180227edb/system_design_track_compressed_26ac98a46e__281_29_5be2280f31.jpeg?w=800&h=800&fm=webp&q=75)

## Related Aced offerings

We provide interview courses in Product Management, Software Engineering, Forward Deployed Engineering, Engineering Management, System Design, Data Science, Machine Learning, Data Engineering, AI Engineering, Investment Banking, Generative AI, Security Engineering, TPM, Solutions Architecture, UX / Product Design, and BizOps & Strategy. We also provide interview questions, experiences, practice, coaching, resume review, salary negotiation, job referrals, and interview guides.

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F1126%2Fmaximum-product-subarray&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F1126%2Fmaximum-product-subarray). Opening a form does not execute a tool.