Could you also figure out which type missOrDup is by the count of the number of entries with the differbit compared to the count of the number of numbers in the range with the differBit? If the count of the entries is higher, that means missOrDup is a dup and if the count of the numbers is higher, that means missOrDup is a missing number.
12.10 Find the duplicate and missing elements
Hi @fondant,
It is an interesting question, and I suggest you use our newly released testing framework to test your idea. Take a look of bit.ly/EPIJudgeSignup.
0 Likes