[Solved] Java how to return a function that returns a 2d array right angle pattern
Most of the java programs can easily be solved or atleast initiated by finding a pattern. So whats the pattern here? The pattern is that the relation between array index and the element at that place. Every index which has 0 in it has 1 so arr[0][0] is 1.See the pattern there? Every index which … Read more