I think i wrote correct code (as it is giving correct results in dev c++ for whic

I think i wrote correct code (as it is giving correct results in dev c++ for which it is failing at site).I have used O(1) memory space. What should i do?

Click on “Seek Help” Button :slight_smile:

Click here to start solving coding interview questions