First arrange the numbers in ascending order of magnitude; 0, 0, 1, 1, 1, 1, 2, 2, 3, 4
Counting from the right, the fifth number is 1
Counting from the left, the fifth number is 1
Hence, median = 1+12\frac{1 + 1}{2}21+1
= 22\; \frac{2}{2}22
= 1