N==0 is not accepting


#1

My code is not accepting n==0…but i done it right.


#2

just add one line…
if n==0 then return an empty vector.
that’s it.