[LeetCode][Python]442. Find All Duplicates in an Array
Givenanarrayofintegers,1≤a[i]≤n(n=sizeofarray),someelementsappeartwiceandothersappearonce.Findalltheelementsthatappeartwiceinthisarray.CouldyoudoitwithoutextraspaceandinO(n)runtime?Example:Input:[4,3,