Pattern using loops

i am not being able TO UNDERSTAND ABOUT THIS CST AND NST.LECTURE 23 ONLINE COURSE