How's about Java codes for producing the following:
1
1 2
1 2 3
1 2 3 4
1 2 3
1 2
1
Thanks !