Posts

Showing posts with the label Java recursion sort Interview question coding challenge

Recursion and Sort - should be asked everytime

I am surprised with my new manager because he is so technical (He can code). He is trying to come up with interview coding questions to test candidates and has asked me to look at it. If I don't know any better he is trying to test me too. I did an interview with coding questions before and most of the questions that i have encountered are mostly about recursion and sort. Recursion and sort questions are very reasonable to ask a candidate who is going to code because recursion and sort  will be mostly all over any code base. So when my manager asked me to look at his coding test in the back of my mind i would suggest a question about recursion and sort. When i was preparing myself for such an interview (the one with a coding question) I have found this  http://codingbat.com/  as a great place for practice..much like crossword puzzle.  After trying a few questions at codingbat.com , I thought i can come up with questions like that too. Here is a sample question that i came up