Needs proper contraints

Needs proper constraint i reversed the string and it passed

Click here to start solving coding interview questions