Do they provide test cases or do you have to test your code on your own?
You usually write a few test cases then verbally walk through the code with one of them
Test cases were not provided for me. It could vary from interview to interview.
Thanks everyone!
Interviewer provided one test case.
When u say test case do u mean a runnable one or just an expected input and output without code?
I meant a runnable one
I remember mine did not have prepared test cases. I had to write mine.