Why arrayList is of string type when we are storing integers?

why arrayList is of string type when we are storing integers?
And second question is:for dice=1 due to loop we will iterate till 10,10 and then a blank string will be returned to rr of 9,10.Here it will store [1] and then return it to 8,10.Now what will be the end result for 8,10?will it be [1,2] or[1,11].Inshort the line mr.add(dice+rrs) how is the calculation taking place in this line ?if dice=1 and rrs=1 then mr.add(1+1=2 or 1+1=11(as you have taken it as string type ,the arraylist)?

@WolfShot Hi bro in the question we have to print a number string(path we have followed while reaching the end).
Say from 0 to 10, one path can be 1111111111 i.e everytime 1 is coming on the dice.
So why we will use a Integer type arraylist? When we are storing string of numbers as a path. I will advice to study the recursion tree in the video again.

please answer the second part of the question too

can you please share the tracing for dice=1 (like value of rr and mr at every step just for dice=1)?

@WolfShot bro see the video from 15:52 mam is already walking you through the rr and mr, please watch it and if you have doubt then ask.