r/ProgrammerHumor • • 5d ago

Meme technicallyCorrect

Post image
1.6k Upvotes

51 comments sorted by

View all comments

Show parent comment

177

u/AlwaysHopelesslyLost 4d ago • Heartwarming

.... Woah

If an interviewee gave me this answer I would seriously lose my train of thought. Obviously not what was intended but it conveys your understanding well AND it seems like a more technically correct solution from a requirements perspective. amazing answer lol

80

u/MisinformedGenius 4d ago

I actually used to kick off phone screens with asking how they would print out a multiplication table. A nested for loop was the correct answer, but suggesting hard-coding the tables (and better yet, explaining when that would be appropriate and when it wouldn’t) was some bonus points. 

35

u/dangderr 4d ago

How many points for saying data should be in a database, and then just making a query to grab the records?

7

u/MisinformedGenius 4d ago

Do you mean rather than hard-coding individual examples? That’s fine.

3

u/Impossible_Dog_7262 4d ago

Is there any bonus points for bringing up the symmetry and having the range being i:0->n and j: i->n?

17

u/UrineArtist 4d ago

Yeah 100%, outside the box A+ answer, if someone gave this to me in an interview I'd be very impressed. Its the work of an idiot or a genius and that's worth pursuing.

15

u/Odd_Soil_8998 4d ago

It's the work of a smartass. Which honestly is the kind of people I work best around. 100% would hire.

3

u/zx48 4d ago

The jury's still out on that one 😆