What is the toughest coding question that you faced in an interview?


What is the toughest coding question that you faced in an interview? by @ardit33

Answer by Ardit Bajraktari:

You have 3 hours to build a game of "battleship", and give a presentation of it (both the game, and the code) to the rest of the team.
Extra nice features: online play, nice looking ui, etc.

A proper multi-player battleship game takes a lot more time than that.  It is a question that forces you to do compromises and decide on what the MVP is going to be.  Also it forces you to adjust what is important, and throw away features/things that you don't have to have during the development, once you realize how much you can complete during that time with your ongoing pace.

It is also a question that reveals how good can an engineer keep their composure when under pressure:  do they build proper data structures, nice logic/presentation separation,  or do they just spaghetti code the whole thing?

While you can learn 'puzzle style' questions, and find shortcuts to them, there is no way an engineer can fake through something like this.

What is the toughest coding question that you faced in an interview?

About AvatarNemo

V: Voilà! In view, a humble vaudevillian veteran cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valourous visitation of a bygone vexation stands vivified and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition! The only verdict is vengeance; a vendetta held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose, so let me simply add that it's my very good honour to meet you and you may call me V.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s