Set Matrix Zeroes in swift

Question: – if on given matrix any element is zero set entire row & column to zero [Link] Approach #2  Here we find the rows & cols which is zero & then iterate over matrix & make that rows and cols as zero