Write a recursive function that takes as a parameter a non-negative integer and generated the following pattern of stars. If the non-negative is n, then the pattern generated is:
n = 1
1
n = 2
0
010
n = 3
0
010
01010
n = 4
0
010
01010
0101010
thank u very much!!!