Deriving state from previous state [mp] Micro pattern¶ Problems¶ 118. Pascal's Triangle (Top Easy) 78. Subsets (Top Medium)