hello can somebody write a code for this array list in java I want the output as required
there is a array list of 1,2,3 and to this {1}-->{4}-->{9} = {1,4,9} ,
{2}-->{5}-->{10} = {2,5,10} and so...