No output for (num > 1)

@JeremyLT num-- ?

@therepositor The problem is you are overwriting newArr at each loop iteration. Check the hint page, you don’t have to look at the solution but it gives you a bit of help anyway.