Difficult to understand this video

i this all video of madam is bit difficult to understand in this video i can understand the inner for loop although i know that it is for position shifting

can you please put the timestamps of what you want to understand?