Counter Variable
int ctr = 0 ; while ( ctr < 2 * n - 1 ) { for ( int i = 0 ; i < Math . abs ( n - ctr - 1 ) ; i ++ ) { System . out . print ( " ▁ " ) ; } Vector < Integer > lst = new Vector < Integer > ( ) ;