WORKINF OF LOOP TO CREATE SUBARRAYS

Hi
Can you please explain how the arrays are working to generate subarrays and can you just show what are the subarrays generated…

hello @Prakhar_Nagpal
i have written code for you.


pls run it and check what all subarray it gives.