I was browsing questions and found this question. In this the OP states that the code is working according to him but someone told him that it isn't working.
What kind of review should be done in such situations?
I think the question is essentially the same idea as this one:
I think the appropriate review would have been to point out the flaws in the code (as in the linked question). However, we don't know what the friend was talking about. I think we can give a generic review, even if we can't see what the friend saw.