<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Leetcode - Tag - Pratyaksha</title><link>https://pratyakshajha.me/tags/leetcode/</link><description>Leetcode - Tag - Pratyaksha</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><managingEditor>hello@pratyakshajha.me (Pratyaksha Jha)</managingEditor><webMaster>hello@pratyakshajha.me (Pratyaksha Jha)</webMaster><lastBuildDate>Sat, 11 Apr 2026 13:09:39 +0530</lastBuildDate><atom:link href="https://pratyakshajha.me/tags/leetcode/" rel="self" type="application/rss+xml"/><item><title>Leetcode Patterns Cheatsheet</title><link>https://pratyakshajha.me/leetcode-patterns-cheatsheet/</link><pubDate>Sat, 11 Apr 2026 13:09:39 +0530</pubDate><author>hello@pratyakshajha.me (Pratyaksha Jha)</author><guid>https://pratyakshajha.me/leetcode-patterns-cheatsheet/</guid><description>Leetcode Patterns Cheat Sheet Two Pointers Use one pointer at the start and other at the end Keep moving them towards each other until they meet Example: Container With Most Water
You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, height[i]). Find two lines that together with the x-axis form a container, such that the container contains the most water.</description></item></channel></rss>