Flubbed and online assessment. Given a sequence of numbers, identify if it's a complete sequence, that's the gist of it. The sequence would be from 1 to max(sequence). On failure output how many you got vs how many was expected. I was good at detecting the sequence, sort and compare index vs value. Didn't know about the duplicates until I started submitting against test cases

. Ran out of time commenting why I wasn't handling them properly while trying to work on it. Submitted at 1 second and it gave me an error

.