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.
looks like you get a multidimensional array, i.e. int[][] arr = {{5,0},{8,3},{3,5},{2,1}};
first int indcates people getting on bus, second int indicates people getting off bus. You can probably just do a for loop that adds all of the first
integers and subtracts all of the second integers, should return just an int value of the remaining number of people on the bus.