Programming interview : quick ways to ensure that program is correct
- by Algorist
Hi,
I faced a telephonic interview recently and I was asked to write a program. The program is non-trivial to understand, but I am asked to write the program. I wrote the program and interviewer showed me bugs on some corner cases. I wish, I could have found the corner cases earlier. what does everyone do in this case.
Thanks
Bala