Storing maximum and minimum values of each component
v . append ( [ componentMin , componentMax ] ) NEW_LINE check = isValid ( v ) NEW_LINE if ( check ) : NEW_LINE print ( ' Yes ' ) NEW_LINE else : NEW_LINE print ( ' No ' ) NEW_LINE return NEW_LINE