8

When an interviewer asks, what are the steps that you take usually when given a task to do something, what do you guys say?

I said, I devote 10-20% of the time to understand the given problem - sit and explore all possible scenarios to handle, then develop a brute Force approach, improve the approach to make it more efficient, see if it handles all edge and corner cases, then write test cases for it.

( I'm thinking, the process doesn't vary a lot for most of the people?, Except in TDD - one'll write the test cases first)

How would you answer this question?

I have this feeling that I messed up something 🤔

Comments
  • 3
    Idk. First: who was the interviewer? If it was just an HR person, I doubt they had the experience to be overly critical of your process. Shit, half of the IT management at current job is in the same boat. 😒
  • 0
    Is that what you say or what you actually do?

    This sounds like a canned response.
  • 2
    @broseph it was the hiring manager. I wouldn't worry too much if it were an HR.
  • 0
  • 2
    @MrCSharp the optimization part I usually do, if I have left over time (which happens in like half the cases). If deadline is too aggressive, I just do a quick and dirty implementation and push it.
  • 1
    Doesn't seem wrong to me at all, but you might have wanted to ask about their usual company policies about development there (such as: Do they do TDD, scrum, yadayada)
  • 0
  • 0
    https://youtu.be/-W_VsLXmjJU

    TechLead has awesome videos. I left the employment market 3 years ago and I'm doing everything in my power to stay out of it. I would suggest looking to diversify your income streams. We are in the era of software, look to leverage your skills to the max. A job/career is probably one of the least profitable uses of your skills.
Add Comment