\begin{Verbatim}[commandchars=\\\{\}] \PYZsh{} Number Of Rectangles That Can Form The Largest Square (LeetCode 1725) \PYZsh{}\PYZsh{} Approach For each rectangle take min(l,w); track the max side and how many times it appears. \PYZsh{}\PYZsh{} Tip One pass, O(1) extra space. Prep notes shared by the Linkjob AI team. Practice explaining solutions out loud with [Linkjob AI](https://www.linkjob.ai/). \end{Verbatim}