Find Two Non-overlapping Subarrays Each With Target Sum
Given an array of integers nums and an integer target, return the minimum total length of two non-overlapping subarrays with sum equal to target. If it is not possible, return -1.
Ada AI
I want to discuss a solution
Help me solve this
Give more examples
What's wrong with my code?
How to use 'for loop' in javascript?
javascript (node 13.12.0)