Anyone able to successfully submit the solution for 'Tata CLiQ Backend Hiring Challenge'

Challenge Link
Anyone able to submit successfully the first challenge, I was getting runtime error due to input parsing, there is no error with the sample test, but when I submit it’s getting runtime error due to input error. I saw the error log instead of sending array size they are sending array. I took screenshots of the error and my code and informed hackerearth support team but they are saying there is no error with data.
I even wrote code in python just parsing the input but same error, please if anyone successfully completed please comment.

Hi, are you talking about the max power problem or max reward problem?

1 Like

I think he is talking about the max power question. The reason why you were getting RTE is because the input was coming differently for the rest of the test cases, it was coming in a single list and you need to take care of that. Sometimes it becomes difficult to identify how the data would come even if you have written the right logic.

I was able to do both questions, there was no problem in any of them.