Here are my solutions on some of the pattern questions. The solutions are in C++ but you can code them in any language.
*
**
***
****
*****
*
**
***
****
*****
1
12
123
1234
12345
1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
*
***
*****
*******
*********
*
**
***
****
*****
****
***
**
*
*
***
*****
*******
*********
*******
*****
***
*
*****
* *
* *
* *
* *
*****
*****
****
***
**
*
*****
****
***
**
*
*
* *
* * *
* * * *
* * * * *
*
**
***
****
*****
****
***
**
*
*** ***
** **
* *
* *
** **
*** ***
1
123
12345
1234567
123456789
1
202
30003
4000004
500000005
* *
** **
******
******
** **
* *
* * * * *
* * * * *
* * * * *
* * * * *
* * * * *