Only one test case is getting passed. Here is the code
Subarrays with distinct elements. Wrong answer
your code is correct
may be there is error in input and output format
send me the question link
Only one test case is getting passed. Here is the code
your code is correct
may be there is error in input and output format
send me the question link