C# Developer Interview
Hacker Rank Test is pretty straightforward. It's a bunch of multiple choice questions, and a coding task. I did not spend the whole 2 hours like some of the other applicant suggested. I guess it really depends on how many years since you've graduated from a computer science program. The take home test is where I failed. They ask you to solve a maze (an image) with a start and goal for both orthogonal and non-orthogonal maze. They say they judge the code based on SOLID principles, performance and originality. They expect you to write this in C# and with visual studio. And if you fail their standards, they don't provide you with any information.
I was told that "We do not expect you to build everything from scratch". So I implemented a A* search algorithm to solve the maze based on pseudo I find on wikipedia. So I concede on that it is not original at all. And I did some unit tests for invalid inputs. The whole thing took me 8 hours. In terms of performance, my algorithm solved the most complicated example maze in matter of seconds. I suspect that they have a some sort of programming rule book that they used to judge your code. It's hardly about actually solving the problem at all. And I heard from the recruiter that they are not in any hurry to fill a position. So they get to be picky. It's not worth spending so much of your time to apply.
Do they give you maze in an image file? How did you read that image ? did you convert it in binary format somehow ?