Untaught concepts

the question solved in the video involves use of pair and classes which have not been taught till now. It is becoming a bit confusing

hello @pranaynigam

these concepts are covered in later part of ur course.
skip this for now , try after learning those concepts