You are viewing a single comment's thread. Return to all comments →
I didnt understand this part. Can somebody help me out in this?
His algorithm is getting the middle element of the hourglass on the first pass through and then incrementing the top and bottom rows of the hourglass. He increments count to track the amount of loops needed to read a hourglass and increments x to correspond to the position in the hourglass; 0,1,2 respectively.