Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
digits is ArrayList. Add method will add new Object ( in this example Integer) on another place.
eg. temp = 75; 75%10 = 5 ; after digits.add(0,5) "5" will be on index 0 ; after digits.add(0,7) "7" will be on index 0 and "5" will be on 1.
This comment is hidden because it contains spoiler information about the solution