Need Test Case For DISCHAR

I successfully completed DISCHAR problem but i got 20 pts only . A found that i solved the problem as mentioned in editorial .So can one please tell me why my solution was giving wrong answer for Sub Task 2.
Thanks & Regards

Recheck your for loop used for assigning 0 in array chars[26],

You are assigning 0 only from 0 to 25 and not from 0 to 26

Replace that part of code with this code:


Here is accepted version of your code with 100 points:

1 Like

i am unable to find this problem in Practice section . So can any one please tell me where can i found this problem to submit.

@prasadram This is the link :