getting WA for testcase 2 and 3…please see it…
Subarrays with distinct elements..ssdd
Your code is not running for large values of n.
Fix the error.
I am attaching a pair of sample input-output.
Hope, this would help.
getting WA for testcase 2 and 3…please see it…
Your code is not running for large values of n.
Fix the error.
I am attaching a pair of sample input-output.
Hope, this would help.