Good evening. I had a coding interview on Codesignal with the question 开发者_高级运维below, and I got just 14/20 with the test cases. How will you solve it please.