ViXS interview question

How does scan work