Google Kickstart 2020 round C (Perfect Subarray)

there is a Perfect Subarray problemlink of Google Kickstart 2020 Round C. i am looking for a Solution for this problem in Python 3. please share it . Thank you!

1 Like

You can read the editorial. If you follow your link you will find the options “Problem” and “Analysis”. The second one explains how you could solve it.

i knew that but still i failed to write code for it. So asked for Solution. thank you though