Input problem in question

Hi
in the input, input size is not passed. Please update backend to take that into account. Otherwise we need to read line and then filter it to pick values.

yes
you have to take input as a string and then filter out values from that

changing the question is not a solution of problem

Hi Saurabh, I guess we are here to solve questions. We need not apply transformations in input to filter values. Please see your solution videos as well. Your code solution videos also does not handle this. You’re testing your code submissions on leetcode which too doesnt ask you to parse input to filter values.

This is something that needs to be taken care of at backend. I request you to kindly look into the matter. This issue is with many problems.

okay
we will shortly resolve the issue
for now you can filter the string

Now the user gets predefined stubbs that parse the input for them.
now you only required to write the main logic
Similar to leetcode

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.