Title: 最大乘积子序列 · Issue #160 · sisterAn/JavaScript-Algorithms · GitHub
Open Graph Title: 最大乘积子序列 · Issue #160 · sisterAn/JavaScript-Algorithms
X Title: 最大乘积子序列 · Issue #160 · sisterAn/JavaScript-Algorithms
Description: 给你一个整数数组 nums ,请你找出数组中乘积最大的连续子数组(该子数组中至少包含一个数字),并返回该子数组所对应的乘积。 示例 1: 输入: [2,3,-2,4] 输出: 6 解释: 子数组 [2,3] 有最大乘积 6。 示例 2: 输入: [-2,0,-1] 输出: 0 解释: 结果不能为 2, 因为 [-2,-1] 不是子数组。 leetcode
Open Graph Description: 给你一个整数数组 nums ,请你找出数组中乘积最大的连续子数组(该子数组中至少包含一个数字),并返回该子数组所对应的乘积。 示例 1: 输入: [2,3,-2,4] 输出: 6 解释: 子数组 [2,3] 有最大乘积 6。 示例 2: 输入: [-2,0,-1] 输出: 0 解释: 结果不能为 2, 因为 [-2,-1] 不是子数组。 leetcode
X Description: 给你一个整数数组 nums ,请你找出数组中乘积最大的连续子数组(该子数组中至少包含一个数字),并返回该子数组所对应的乘积。 示例 1: 输入: [2,3,-2,4] 输出: 6 解释: 子数组 [2,3] 有最大乘积 6。 示例 2: 输入: [-2,0,-1] 输出: 0 解释: 结果不能为 2, 因为 [-2,-1] 不是子数组。 leetcode
Opengraph URL: https://github.com/sisterAn/JavaScript-Algorithms/issues/160
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"最大乘积子序列","articleBody":"给你一个整数数组 nums ,请你找出数组中乘积最大的连续子数组(该子数组中至少包含一个数字),并返回该子数组所对应的乘积。\r\n\r\n**示例 1:**\r\n\r\n```js\r\n输入: [2,3,-2,4]\r\n输出: 6\r\n解释: 子数组 [2,3] 有最大乘积 6。\r\n```\r\n\r\n**示例 2:**\r\n\r\n```js\r\n输入: [-2,0,-1]\r\n输出: 0\r\n解释: 结果不能为 2, 因为 [-2,-1] 不是子数组。\r\n```\r\n[leetcode](https://leetcode-cn.com/problems/maximum-product-subarray)","author":{"url":"https://github.com/sisterAn","@type":"Person","name":"sisterAn"},"datePublished":"2021-03-16T23:51:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/160/JavaScript-Algorithms/issues/160"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:becdf9dd-5b64-979b-f22e-49511513df36 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C80:37DD1D:44933B5:5D558BE:6972F3C5 |
| html-safe-nonce | 36271969b14d7bc17ed600d8667ca7fdca722b525bb01dad43910a667c3fea84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzgwOjM3REQxRDo0NDkzM0I1OjVENTU4QkU6Njk3MkYzQzUiLCJ2aXNpdG9yX2lkIjoiOTA1NzAyMzYwNDQ0Nzk2NjE0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a3e1ae34f717397945241c11b7fe79792e74d7c0c26699aff99c012a9e4d9b26 |
| hovercard-subject-tag | issue:833279651 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sisterAn/JavaScript-Algorithms/160/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c6bb44eebcf32681918384301035195b0bc9df17f0adc8680618b89cba172f7e/sisterAn/JavaScript-Algorithms/issues/160 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c6bb44eebcf32681918384301035195b0bc9df17f0adc8680618b89cba172f7e/sisterAn/JavaScript-Algorithms/issues/160 |
| og:image:alt | 给你一个整数数组 nums ,请你找出数组中乘积最大的连续子数组(该子数组中至少包含一个数字),并返回该子数组所对应的乘积。 示例 1: 输入: [2,3,-2,4] 输出: 6 解释: 子数组 [2,3] 有最大乘积 6。 示例 2: 输入: [-2,0,-1] 输出: 0 解释: 结果不能为 2, 因为 [-2,-1] 不是子数组。 leetcode |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sisterAn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 25ef7e923c492d9047af899b2ba66bfcb0a78059369630f2ce2cf57826ed6a53 |
| turbo-cache-control | no-preview |
| go-import | github.com/sisterAn/JavaScript-Algorithms git https://github.com/sisterAn/JavaScript-Algorithms.git |
| octolytics-dimension-user_id | 19721451 |
| octolytics-dimension-user_login | sisterAn |
| octolytics-dimension-repository_id | 252061924 |
| octolytics-dimension-repository_nwo | sisterAn/JavaScript-Algorithms |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 252061924 |
| octolytics-dimension-repository_network_root_nwo | sisterAn/JavaScript-Algorithms |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c0badd0db61d89a34653af2d762b2eb8c84f9d59 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width