...

/

Challenge: Sets, Counter and Dictionaries

Challenge: Sets, Counter and Dictionaries

Test your understanding of sets, Counter, and dictionaries with these coding questions.

We'll cover the following...

Problem 1

You are given a list of integers that should contain all numbers from 1 to n, but some numbers are missing (and the list may have duplicates).
Your task is to return a sorted list of missing numbers.

Use a set to solve this efficiently.

Example input

missing_numbers
...