title: Assembly Line Scheduling - Data structures
body: <p>I am trying hard to understand how the table is computed in this 'Assembly line scheduling' problem in Chapter 15 'Dynamic Programming' on Intorduction to Algorithms book by Cormen.</p>
  
  <p>Can anyone give me a hint on what are the two tables about &amp; how they get calculated ? Been searching on google for past 2 hours.
  <img src="https://i.stack.imgur.com/IdnAU.png" alt="enter image description here"></p>