<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>LeetCode 152 on Jeanphilo Blog</title><link>https://jeanphilogong.github.io/jeanblog/tags/leetcode-152/</link><description>Recent content in LeetCode 152 on Jeanphilo Blog</description><generator>Hugo -- 0.168.0</generator><language>en-us</language><lastBuildDate>Thu, 08 Oct 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://jeanphilogong.github.io/jeanblog/tags/leetcode-152/index.xml" rel="self" type="application/rss+xml"/><item><title>LeetCode 152: Maximum Product Subarray, Deriving Two DP States from a Negative Counterexample</title><link>https://jeanphilogong.github.io/jeanblog/alg/leetcode/hot100/152-maximum-product-subarray/</link><pubDate>Thu, 08 Oct 2026 00:00:00 +0000</pubDate><guid>https://jeanphilogong.github.io/jeanblog/alg/leetcode/hot100/152-maximum-product-subarray/</guid><description>Start by enumerating nonempty contiguous ranges, then use a negative counterexample to derive maximum and minimum product states and a constant-space Python solution.</description></item></channel></rss>