How to take input of array in Maximum Length of Subarray

In this questions, according input format, we don’t have to specify the size of the array, neither we have to add -1 at the end of the array, then in certain case how can I take input? Please if you can tell?

Hey @saksham_thukral since there’s no input format, you have to take input in form of string, and from that string you have to extract numbers. Hope you would get it :grinning:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.