r/developersIndia • • Jan 16 '24
Interviews Why I think interviews are often flawed?
I have interviewed a lot in past and I noticed some interviewers just copy a problem with a solution from Internet. They have no clue what to expect from a candidate except the one solution they already have copied.
There was a guy from an Indian startup who interviewed me and in the coding round he had copied the problem along with the solution from Geeksforgeeks. I noticed it because when I came up with a final solution that uses DP he insisted on optimizing and optimizing. There was a point where I refactored and introduced an inline function and I just explained how it works better than before and he kinda agrees and says "looks better now". And, then he goes and explains the solution he was actually expecting. Surprisingly it was a brute force solution worse than the DP came up with.
After the interview I Googled the problem and I found the exact problem on Gfg and exactly the solution he actually expected me to write.
What is the point of this process of checking a candidates capability?
•
u/AutoModerator Jan 16 '24
Join ToolJet's CEO & Founder Navaneeth Padanna Kalathil: An AMA on Software Engineering, Open-Source, and more! - Jan 20th, 12:00 PM IST!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
85
u/[deleted] Jan 16 '24
I had an interview with mcafee and the guy was asking me syntax and module based questions. I stopped the interview and said we are both wasting our time and left the interview. Sometimes people get to know that they are taking an interview in short notice, then they pick from office question bank or from internet. Some people won't even do that and google question right there during the interview and ask, these guys will get browbeaten eventually by someone who had months of prep time.
26
u/Beginning-Ladder6224 Jan 16 '24
Anything like this is always flawed. Always. That is the reason any random process if inherently flawed. Always. Being said that, to collect talent you have to have talent.
This is very easier than done. To get away out of the "me" bias takes decades, if not less. And most "Startups" do not have "10+" folks at whim, they have "would be" folks with less than 1 years of experience imagining they know it all.
When I was that age group, I used to think like that to. Eventually people grow out of it. Entirely.
So yes, the observation is quite apt, almost all interviews are flawed but that is the system we really have.
The way I generally do it is go on see code what the candidate has written in his/her pet project and start question from there - they have access to internet. They also have unlimited time.
Even after that, those who can not answer - must be rejected.
16
u/cfued Jan 16 '24
I had an interview for frontend dev. The interviewer asked me different ways to sort an array in Javascript. I told him we can use array.sort, array.reduce and also using loop. He told me that we can also do it using array.filter method to which I asked if can really do it(as far as I knew, we can’t), but he was adamant that we can. I tried looking for it after the interview but couldn’t. As expected, I didn’t clear the interview.
12
u/[deleted] Jan 16 '24
Adding to my post:
It is very annoying and unreasonable to make an sde2/3 interview a senior/staff engineer. I had this happen to me and when they guy introduced himself and goes like I am sde3, and I said I am a Staff. silence
11
u/nic_nic_07 Jan 16 '24
Major reason : No preparation for an interview by the interviewer. Reason : additional work for no pay and that part of work is not even considered as work done by the person. So one cares.
15
u/Intelligent-Snow259 Jan 16 '24
Hiring code monkeys: Interviewing with copied problems is like judging Picasso by his stick figures.
12
u/derParod Jan 16 '24
I had interviewed with a very high paying company and the same happened with me. The interviewer was expecting the same solution as mentioned in the article he copy pasted the problem from. He kept on insisting that the complexity can be further improved. I even told him that it's not possible (in a polite way). He went afk for a few mins and then explained his (the article's) solution which had the same complexity as mines, tougher to implement and can't be extended to a more constrained scenario. I got rejected despite correctly answering this and another problem which he asked (thankfully for that his and my solution matched). I still wonder about it sometimes because I don't think I'll get another opportunity as good as that atleast in the immediate future
3
u/[deleted] Jan 16 '24
A lot of luck involved in job applications these days Interviewer is one of them, nothing can be done in this matter.
3
u/brobro_roro Jan 16 '24
At some point, I feel interviews are not about judging the right fit but about eliminating the wrong fit.
Designing a flawless process requires time and effort that nobody has. It is not incentivizing for a company to have a flawless interview system because the present system works.
I have been pondering over how we can improve the system. My constraints are:
While I went on this path and had multiple discussions with people, I realized companies like Hackerrank, and HackerEarth targetted doing just this! Before HackerRank, you'd be asked aptitude-based questions and MCQs with "What is the output" and "What is the syntax for ___" because those were the kinds of automated testing platforms available. You could get into an F2F interview knowing bare minimal syntax and not necessarily programming.
Microsoft (I think) devised this interview process consisting of DSA because it could judge how much of the problem you could grasp, how efficient a solution you can build, how you can improve, and obviously, if you can take your thoughts and convert them to code.
I mean, WITCH asking Leetcode medium questions and then making SDEs write Gitlab pipelines or fix Java 8 bugs signals a mismatch. is not fair. You might probably not need to be an expert in DSA and know every algorithm there is. It is needed for certain roles, but today, if there is a way you can grasp things when needed you'd be fine in most companies.
I mean, WITCH asking Leetcode medium questions and then making SDEs write CI/CD pipelines or fix Java 8 bugs signals an obvious mismatch between the test and the job.
But it is a system that works! If you can crack an LC medium question, you definitely will be able to write a CI/CD pipeline. Will you be using this genius to her fullest potential? Most likely, no.
With the constraints in mind, I thought of designing a three-level interview process.
For L0, I took inspiration from IBM's FSD challenges. They were MCQs about "What do you think this piece of code does?" and very theoretic questions about distributed systems. I also planned to add some language-related questions. We hire for Java, so something about JVM, Java versions, etc. The problem with this approach was that it was too theoretic. We tried it for a bit, but it was not a good enough filter.
Moved on to propose a "Fill in the code" approach, where you have a half-done app with TODOs. You spend 2-3 hours to fill the TODOs at your own pace. The test has automatic proctoring, but you're free to do whatever you want. The problem with this approach is it is effort-intensive to come up with such questions. We can probably come up with 5-6 such questions but the chances are it will be on some telegram channel or a paid "crack MAANG+" course by the time it reaches 100 candidates. After that, it will cease to be an effective filter, easy to game, and again unfair to candidates that have not been a part of groups where this can get leaked. This is still a good approach if a company comes out and keeps churning questions, but for us, it shoots up the cost per hire while hiring.
Ultimately settled with HackerRank fizz buzz questions. Not more than 2 questions, 60 minutes to solve. Strict proctoring, so you can't switch tabs or google.
For L1, our pipeline gives us 6-7 hours for interviewers to prepare for interviews. I ditched the traditional DSA or QnA format and moved on to quizzing about resume and product building. What I thought would be effective was talking about the things folks have written on their resume.
Coming to building a hypothetical product, most folks that interview in most companies (obviously there are outliers) are doing software development because it pays money and they're moderately okay at their job. They're not code illiterates, but that does not mean they have product thinking. A software developer will likely struggle to explain how her code directly affects an end-user unless they work for small companies, with a lean team. Considering that you're working on micro-problems every day with no real incentive to understand the system, you'll fail to build an effective system. Most folks have had their solution #1 accepted and implemented because it is quick to do so and doing it the "right way" would take time. Cascade this into years of experience doing the first thing you think, managing a team, and encouraging them to do the first thing you think - you will probably not be able to think of the "right way" or "better way" of doing things for an interview. This is both an interviewer problem and an interviewee problem. To fix this, you need to do a lot of self-study as a candidate and we need to revamp L0 to validate your self-study.
Coming to the resume, it can be taken that the bullet points on the resume are inflated by at least a factor of 1.5x. A candidate might have written a batch program that reads from Kafka. Now, they'd write Kafka as a skill but not be able to explain what partitioning is. Or, for that matter take any concept from the intro page of Kafka. This is still fine if they accept the depth of knowledge during the interview and will still be an effective metric to interview.
If somehow you fix L0 and L1 and can funnel only a small set of candidates to L2, you can take up an actual problem statement, and give them a template and pair program. Ideally, if you have. a real-world business use case that you can build, it would be best! But this is extremely effort-intensive and requires you to have good comprehension skills (English and Code) and the ability to self-start. For a company, I've to provide the environment and setup so that the candidate focuses only on the code. This is tricky, but not impossible if L0 and L1 are fixed.
I'd be happy to hear what an ideal interview process would look like for you or where my thinking is incorrect!
3
u/mujhepehchano123 Staff Engineer Jan 16 '24
you dodged a bullet. usually orgs like these, its total chaos and people don't know what they are doing.
think about how little they are putting effort over the hiring process which decides who gets in the company, if a company is this careless in deciding who gets in, imagine what's happening inside the company
2
u/arav Site Reliability Engineer Jan 16 '24
Taking interviews is a skill in itself. I have had my batches of taking bad interviews and good ones as well. You need practice to take good interviews as well. I got better at it after taking interviews for a while.
2
u/HenceProvedhuehuehue Jan 16 '24
I always find it difficult to gauge someone’s skills in a 30 minute interview. Can’t even go over even if I wanted to because HR schedules back to back interviews. Related to DSA questions, I try to focus on the approach of the candidate instead of the rigid solutions. I want it to be discussion oriented instead of interview oriented because I could always learn something new from the candidate’s perspective.
2
u/sumantsomu Jan 16 '24
I recently had an interview in java where the interviewer didn’t know any difference between @Transient and transient keyword. Also when i gave him a solution using stream with array he said stream can only work with collections. When I ran the program in ide and it worked, he just said I’m arrogant and dont listen to inputs and disconnected the interview. There needs to be proper interview global panel or certification something like that.
2
u/chengannur Jan 16 '24 edited Jan 16 '24
Well, I will start
Tbh, I haven't asked anyone leetcode style questions. If there was a way to find out whether the candidate can understand a not so well written codebase and can figure out things himself, I am absolutely fine. With leetcode I am just checking whether he did solve that kind of question before , which is likely not going to give me what I want.
On atleast 95 percent of the codebase, it's accumulated businesslogic which may set or reset on unset previous states, all I really want is someone who can read the mess, what it is and add more features or fix a bug without whining about how crappy the codebase is. And if he is willing to work at odd times, not on a regular basis tho
2
u/[deleted] Jan 16 '24
To me the whole process is flawed.
1
u/MJasdf Full-Stack Developer Jan 16 '24
That's why I took interviews at my last job very seriously. I'd study their resume the day before, look up shit I didn't know and figured out exactly what to ask them tailored to their skills. Since I was just the L1 interview and they would later on face the real complexity, I would just grill them on their resumes and ask them to write me Fizzbuzz.
Surprisingly insightful bit of code. Tom Scott has a video about it if anyone's curious.
1
u/thebiasedindian1 Data Engineer Jan 16 '24
I was once asked by the "CTO" of an agri tech startup about how to divide a cake into 8 equal parts by making only 3 cuts. The revelation from the holy man was to make 2 Vertical and 1 horizontal cut. Who butchers cakes man? I was so pissed. Another time a hr lady asked my a sql question and wasn't satisfied with my answer. Later she revealed the answer was the noob way of joining tables without filtering.
1
u/AsishPC Full-Stack Developer Jan 17 '24
These people who interview, are normally randomly selected. They are normal devs working in some projects, under some managers. Since the managers know this person, so, while hiring, they ask these people to interview other candidates. These guys do not have a clue on how to interview and what to judge from an applicant.
I know this, bcoz I am also one of those random dudes, who is often asked to interview fellas. I dont have a clue, and I cannot figure out how good the candidate is, but, I can figure out, if the candidate is lying.
1
u/jamesbond1267 Jan 17 '24
Summarized Every thing wrong with our education system !!
1
u/anikoiau Software Engineer Jan 18 '24
Result of not having proper interview training
1
u/ItsMeZenoSama Software Engineer Jan 20 '24
I recently interviewed for a big MNC that is establishing it's engg team here in India. The interviewer asked a sort related question. It was pretty simple. I explained him my approach and said we can use the .sort() method and make the solution better and easier to understand. He insisted that I do it without any methods because that is what shows who a real developer is. I responded back that by not using a better solution wouldn't make someone a real developer as well. Heck I even explained him that sort method uses a better version of quick sort and is fast and efficient, which if I end up implementing will end up taking the entire interview time. And he was like, no it can be done in 10 minutes. By the look on his face, he was quite pissed by my answer and told me that I lack confidence in solving solutions without the help of methods, to which I said, it's not about my confidence but a disrespect to inbuilt methods that were abstracted to do the same job and make development faster.
In the end, I did end up solving it without using any methods. As expected, the result of the interview was rejected. I was like, fcuk this guy who wants things done only his way. So, I told the HR who had called for feedback that the "Senior" engineer who took my interview only expected me to solve things his way and not in the best possible way and I would rather work with someone who is open to discussion and mutually agreeing on better solutions than enforcing a certain
Like, yes I understand he wanted to check me core JS understanding but the fact that he couldn't agree to the truth and knowing that he himself won't be taking this approach in a real world dev environment but still was trying to use his interviewing abilities for this nonsense felt very bad about that company.
0
u/ForsakenPrinciple269 Jan 16 '24
No worries, AI is on its way to interview yall from now, and let me say YOU WOULD WISH IT WAS THE OLD WAYS OF INTERVIEW