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

10

u/ponytoaster May 08 '15

If I got asked to do this in an interview I'd probably walk out. They are easy enough, 5 is a bit harder, but doing this doesn't show my skill. Anyone can code, less can develop - which is what I'm probably there for.

At our place when we/I conduct interviews we typically don't do code tests unless we think the candidate is lying about a skill or we are unsure. Even then it's an incredibly simple task to write a small console app. I believe this is far more beneficial as you see someone's thought process, their code style and it makes for interesting talking points.

8

u/Ada1629 May 08 '15

If only more people did that. The stories I hear about the bullshit programmers are put through during interviews, and I've had some of that happen to me too. Procter anyone? I don't know any other profession which makes people jump through hoops as much as IT people with software developers, unless it's the fucking circus. And don't justify it because of what software devs make, because managers and bankers make more, and they aren't treated like circus animals. If companies need to see me jumping before they hire me, then that seems to indicate my 100k degree in cs seems meaningless to them, in which case I wish I had been told about this BEFORE I took the loans out.

My dad spent 4 hrs up at a whiteboard writing code while 5 guys watched him...at age 50...He was not happy. My friend was told to write a program in 20 minutes else he wouldn't have a chance to be hired, while the guy interviewing him told him it took him 2 days...wtf?

Now truth be told, I suffer from a really low self esteem, especially in my career. Maybe it's because I'm a female in a extremely male dominated field which itself might not be the problem except that guys tend to one up each other in ways I am not accustomed to, and I interpret the bragging literally and without a grain of salt. Maybe as a female, due to culture or biology, I'm more adapt at understanding 'one upping' and 'alpha/beta' on female terms, in a female context, and since in the cs world there is none of that I suffer. I'm also not a gamer and hate the new star wars movie and I don't like comics so I start feeling inadequate right at the hobbies level.

I've taken a few of the cs tests recruiters made me take and did quite well...I started studying up on some of the basics and filling in some of my gaps, which has improved my confidence a little. BTW just to clarify I've had really good jobs and done pretty well at them - these are things I keep having to remind myself of on a daily basis however. So in that way I'm glad I took the tests...but in general I freak the fuck out anytime a test is mentioned in an interview context. I just lose my goddamn mind thinking about it.

And the thing is, outside of interviews, I love puzzles - I'm usually the first one to grab pencil and paper and start solving...as long as people aren't watching me. And judging my coding.

But deep down something tells me I'm not that stupid. And I enjoy coding...I really really love writing code. I wish I knew more, which is my fault, partly due to laziness and partly due to my feelings of inferiority which made me run away and stay silent instead of asking questions.

tl;dr my point is that I really really hate the huge egos (like OP's) in software development that judge others. I also think it's really unfair to make software developers with degrees and/or years of solid experience stand by the whiteboard and jump on command while people sit and judge. I consider it a hindrance to the field (it keeps people who are smart but more easily intimidated, out for no good reason (being able to withstand peer intimidation serves as no real advantage for software developers, wall street guys maybe, but not devs). Also as a female I feel disadvantaged right from the start of the dick-bragging, because hey, guess what, I don't have one. At the same time puzzles are fun and sometimes taking tests can be insightful.

1

u/Sangui May 08 '15

You hate a movie you have never seen? That doesn't make any sense.

0

u/estomagordo May 08 '15

But apparently, a huge portion of interviewees couldn't solve these.

4

u/Savet May 08 '15

That's probably because it's a junior position where the candidates don't have experience turning requirements into solutions, but rather implementing a HLD from a pod lead.

They probably also don't know what Fibonacci means and if be surprised if the job in question actually requires them to. Companies that need to do this are generally misrepresenting the level of the position or are pulling crap applicants because something isn't competitive.