AlgoMaster Logo

Set Mismatch

nums=[1, 2, 2, 4]
0 / 15
01231224Two-pass negation marking algorithm
algomaster.io
Step:Find the duplicate and missing numbers using negation marking