r/programming • • May 08 '15

Five programming problems every Software Engineer should be able to solve in less than 1 hour

https://blog.svpino.com/2015/05/07/five-programming-problems-every-software-engineer-should-be-able-to-solve-in-less-than-1-hour
2.5k Upvotes

2.1k comments sorted by

View all comments

532

u/webby_mc_webberson May 08 '15

This guy sounds like he would he horrible to work with.

50

u/awkwardarmadillo May 08 '15

Heh, the best part is he didn't even have a correct solution for problem 4 at the outset.

If you're going to be condescending, make sure that you at least know your shit.

4

u/Decker87 May 08 '15

Did he edit it? If so, do you happen to remember what his error was?

8

u/[deleted] May 08 '15

OP's solution was to treat '5' with trailing zeros like '50'. Problem is, a real '51' takes precedence to '50', but that doesn't yield the correct solution, as 551 is greater than 515. He posted a completely reworked solution after someone pointed this out. Check out his Twitter for more details.

5

u/Decker87 May 08 '15

Thanks for explaining, Moran. That should be pretty embarrassing for him.

10

u/antiquechrono May 08 '15

According to this idiot's own words he wouldn't hire himself

"I never said that you'll be hired if you know how to answer these problems, but I won't consider you if you can't."

We should really stop giving him attention at this point...

1

u/awkwardarmadillo May 09 '15

Yeah, I wonder if he'll fire himself since he obviously shouldn't have been hired in the first place based on the processes he put in place. What a joke.

→ More replies (1)

185

u/flukshun May 08 '15

indeed. these sorts of questions are supposed to be differentiators to help decide the best candidate, not high-stress pass/fail tests where the interviewer labels you a fake-ass-mofo who should pick a different career if you don't cruise through everything.

→ More replies (10)

106

u/[deleted] May 08 '15

Either English is his second language, or this guy needs to get off his high horse and realize that he might be a "software engineer" but he's a shitty "writer".

2

u/[deleted] May 09 '15

Of code.

54

u/[deleted] May 08 '15

Yep. I kinda get what the guy/gal is saying, but maybe there's a way of not being a dick about it.

I get that these problems should be solvable by a reasonably good programmer, but the ability to solve the challenges within a timeperiod should be taken for what it is (some challenges that a guy wrote a blogpost about) & not some divine sign from the programming-gods that one is garbage & should be thrown out.

It does seem the writer has a high opinion of him- or herself.

If you bother to read this blog at all (or any other blog about software development), you are probably good enough to solve these and 5 more problems within the hour.

8

u/CantSplainThat May 08 '15

He's attempting to convey that developers who are reading blogs generally are interested in learning and possibly more driven to be better developers. I'm not sure why everyone is slamming him.

2

u/oldsecondhand May 09 '15

Because there developers reading his blog who can't solve 4 and 5, so he's wrong.

3

u/viimeinen May 08 '15

I'm not sure why everyone is slamming him.

So... one can say that you CantSplainThat...

4

u/hardolaf May 08 '15

I'm an embedded guy (EE actually) and I wouldn't have the foggiest how to solve four. I don't know strings... They don't exist in my world very often.

2

u/Flight714 May 08 '15

this blog at all (or any other blog about software development)

From that sentence, one can logically deduce no more than that he considers that blog to be among the ranks of any blogs about software development. I don't see anything haughty about that.

53

u/[deleted] May 08 '15

I never said that you'll be hired if you know how to answer these problems, but I won't consider you if you can't.

"I have a tiny dick."

1

u/halifaxdatageek May 08 '15

You know, they say that the first insults a person goes to are the ones that would hurt the most put towards them.

5

u/[deleted] May 08 '15

I've got an average sized dick and that dude seems like he's afflicted with micropenis.

2

u/[deleted] May 08 '15

I think it's both: he's too grumpy and he has a point.

4

u/Imperion_GoG May 08 '15

He probably spent the day before writing this in interviews with horrible applicants. That or cleaning up the mess caused by a bad hire.

1

u/Decker87 May 08 '15

I kind of want to work with him...