my code fail on two test cases why?
Highest frequency
@Rishabhsharm use fast input output as constraints are tight
also no need to initialize map with 0 as it is already 0 ( it also takes time)
my code fail on two test cases why?
@Rishabhsharm use fast input output as constraints are tight
also no need to initialize map with 0 as it is already 0 ( it also takes time)