algorithms and design lecture 21 4355401