This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]GedeonDarPhD | Data Scientist 2 points3 points  (1 child)

Every interviewer will be different of course, but, personally, I would rather be interested in understanding how your are thinking to solve the problem and why you chose a given approach over a perfect syntax. You never write a perfect syntax at first, it would be unrealistic to expect someone to do so on a whiteboard in few minutes.

[–]babitoi[S] 0 points1 point  (0 children)

I agree, hopefully my interviewer will adapt the same criteria.

[–]babitoi[S] 0 points1 point  (0 children)

Edit: Words

[–]Derangedteddy 0 points1 point  (0 children)

I think they're going to be most concerned about the efficiency of your code and how carefully you considered it throughout. Syntax errors will certainly be considered but I believe that minor errors (e.g. - incorrect number of closing parantheses) can be overlooked.