I like using the Blum Mental Hash as an interview question. As far as I can tell, it's not mentioned in any interview cram lists, and it's complex enough to see how candidates split up a problem. https://scilogs.spektrum.de/hlf/mental-cryptography-and-good...
It feels really easy? Or am I misunderstanding the algorithm/question?
Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
61–70 of 71 posts
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#62Earlier quoted context omitted.
How’s this different from a school exam preparation tool? It won’t teach you the subject; and if it did then what’s the harm?
"The most damaging thing you learned in school wasn't something you learned in any specific class. It was learning to get good grades." http://www.paulgraham.com/lesson.html You shouldn't be studying to get good scores. You should be studying to learn and understand.
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#63It pains me to see another Coding Interview preparation tool. It's such a sad situation in the current industry. Students learn to game the system to get a high paying job. Students who care about what they are working on will painstakingly try to perfect their projects. They don't have time to game the system and therefore have a hard time getting a coveted job. Companies want to hire "the best" so they usually hire…
Unless you are a founder or have significant equity, why should you “care about the product you are working on” more than enough to get a paycheck? It’s naive to think that a profit seeking employer cares about you. If you got hit by a bus tomorrow, they would send flowers to your funeral and have an open req for your position before you are buried.
While you may want to work with people who care about building great products, most people go to work every day for a paycheck. Why wouldn’t I optimize to play the game in a manner that increases the amount of my paycheck?
That being said, I personally don’t live on the west coast, have no desire to live on the west coast, and haven’t had an algorithm style interview in over 20 years when I was applying for a job doing low level cross platform C. I did get the job and they did need someone with algorithmic knowledge.
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#64It pains me to see another Coding Interview preparation tool. It's such a sad situation in the current industry. Students learn to game the system to get a high paying job. Students who care about what they are working on will painstakingly try to perfect their projects. They don't have time to game the system and therefore have a hard time getting a coveted job. Companies want to hire "the best" so they usually hire…
What's the alternative? Useless behavioral interviews? Sit-down exams and outdated certifications? Agents, middlemen and other leechers? Getting hired only through connections or favors? That's how every other industry in the world works, and I am thankful that the software industry has a somewhat-sane interview process based on actual skill.
I’ve done this as an interviewer. I’ve created a fairly simple skeletal project with failing unit tests. The coding part of the interview was to make the tests pass by writing the code. It was a pair coding exercise.
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#65Earlier quoted context omitted.
I don't think it's the companies themselves as much as the recruiters. I've had recruiters pump me for info on the specifics of the question asked, and I obliged. I was younger and naive, and... didn't understand what they were doing. Not until later, when the reverse happened to me - I was given "potential" questions to prep for (which... I already knew answers to because it was my regular day job for) that I unders…
You are implying that FAANG recruiters are doing this without the knowledge or consent of the hiring team, which is ridiculous.
External recruiters do that all of the time. I worked with the same recruiter when I was trying to get a job and when I was hiring through him. I knew he prepped candidates so I had to have a different set of interview questions and different coding interview tests (with an IDE on a computer).
I know of one company where the hiring manager had all of the candidates do a merge sort on the board. He used the same interview question for years. All of the recruiters knew what to prep their candidates for.
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#66Earlier quoted context omitted.
Where have you seen that? The most I've been given is a general interview prep guide about how to prepare for an on-site.
2 “FAANG” companies and another one of the top big tech ones. One had a recruiter calling and literally listing all the questions they “could ask”, coding, architecture and all. They asked all of them.
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#67Earlier quoted context omitted.
This is something I've been going through for the past 2 months. The last few years I've been contracting with IGOs and VCs. Going through interview rounds with medium-large companies and some FAANG has had me purely doing algorithm problems instead of actually building or writing. But hey at least I can find the common elements between two graphs and return their values as a lowercase string. Something happened betw…
What's IGO?
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#68Going through these and writing up solutions seems like a decent hobby project, applicable to a lot of situations.
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#69The fact that one can just ahead and cram for these problems should pretty much... severely downgrade, at least, their usefulness as hiring filters.
Everyone always says this, but the fact remains that it is a filter in the sense that not everyone can learn it, or retain it. People always complain that the techniques requested in an interview are not required for the job. I see it in a different sense. The jobs they ultimately qualify for do not require such skills.
The question is, whether they serve as a particularly good filter.
Re: Coding Interview Problems with Detailed Solutions, Test Cases, Program Analysis
#70It's not about how smart you are or how well you will do. It's about how good you are at studying interview problems/the SAT. And even then it's a crap shoot if your admission reviewer/interviewer was in a good mood that day.
As much as it's suboptimal/unfair/whatever your objection is, your options are to not play the game (and miss out on the wealth of opportunity or cash) or to dive on in and accept reality.