I learned it back in the 1980s from  &quot;Algorithms + Data Structures = Programs&quot; by Niklaus Wirth.<p>There&#x27;s a more recent edition available: &quot;Algorithms and Data Structures&quot;.<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1921125" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=1921125</a>