News for hackers. Stuff that matters.
Re:Algorithms you should know before you take system design ... by fendy3002 on Thursday August 11, 2022 @06:44PM (#32432758)
Having done several system design interviews, most of the time they're badly executed. When I asked for some detailed requirements they cannot disclosure them. However in the end they have those hidden requirements and I've failed because my system doesn't meet those requirements.

It's a bad way to conduct a system design interview by having a design in mind and hoping the candidates will reach that with limited knowledge / guidance.

Re:Algorithms you should know before you take system design ... by GaylordTuring on Thursday August 11, 2022 @08:00PM (#32433302)
I interviewed for a company once where I got a real dataset from their business and just a vague assignment to analyze the data and find something that could be optimized better. So I came up with a suggestion on how to improve factor A, but they told me later that what they were looking for was for the candidates to come up with suggestions on how to improve factor B.

Why factor B was deemed more important than factor A wasn’t something that possibly could have been understood from the dataset alone.

Re:Algorithms you should know before you take system design ... by drc500free on Thursday August 11, 2022 @08:52PM (#32433643)
They were just screening out unlucky people.
Re:Algorithms you should know before you take system design ... by kvakerok on Thursday August 11, 2022 @08:56PM (#32433671)
That can be done by shuffling the resumes and dumping half of them in the garbage. Saves everyone time as well.
Re:Algorithms you should know before you take system design ... by idiocrat on Thursday August 11, 2022 @09:20PM (#32433805)
They are applying a Leaking Bucket Algorithm.
Re:Algorithms you should know before you take system design ... by bogomipz on Thursday August 11, 2022 @10:23PM (#32434122)
I believe most recruiters already do this.
Re:Algorithms you should know before you take system design ... by btilly on Thursday August 11, 2022 @07:46PM (#32433211)
My solution is to produce a design in my head, and figure out its limitations. Then I ask for each limitation if this limitation will be a problem. If it is, then I figure out how to iterate the design to eliminate that limitation. Once I don't know of any unverified limits, then I start explaining my design, and explain how I know it will perform to spec.

This is also a good way to approach system design in the real world. Don't simply go with the first solution that looks like it might work. Also don't add on nice looking features on general principle. Instead sketch out the simplest thing which works in your head, figure out the limitations, check whether each is OK, and then improve my design if it doesn't work yet.

Re:Algorithms you should know before you take system design ... by fendy3002 on Thursday August 11, 2022 @08:02PM (#32433317)
Only if the interviewer cooperates with candidate. In my past cases, some interviewers are just nuh-uh or "let's continue" or just keep saying the original ambiguous requirement without stating additional requirements or giving any feedback.
Re:Algorithms you should know before you take system design ... by btilly on Thursday August 11, 2022 @08:47PM (#32433605)
Some interviewers like to move the goalposts. If I encounter those, I'll go ahead and give the simplest solution and state a general idea of what its limits are. Then when the goalposts are moved on me, I can iterate on the design for the new rules.

If an interviewer cannot tell my design skills from that, then I figure that the company failed, not me.

Re:Algorithms you should know before you take system design ... by donavanm on Thursday August 11, 2022 @08:50PM (#32433621)
Lately Ive been going the other way as an interviewer. I try to get the candidate to deeply explain their system design; starting point, requirements, conflicting priorities, compromises, etc. Alternatively we can pivot slightly to solving the same class of problem with my system.

I can almost always find a relevant overlap between my background and theirs, which helps. And (I think) its beneficial for them to talk about their experience and existing decision making as opposed to hypotheticals. As a bonus you can also gauge the ability to communicate complex or nuanced ideas in a succinct manner.

Re:Algorithms you should know before you take system design ... by nolevels on Thursday August 11, 2022 @08:50PM (#32433626)
This has been my experience as well. These interviews should be open-ended with no right answer as long as you can reasonably support your design and discuss its tradeoffs. Unfortunately, many interviewers have a set solution / structure / technology already in mind.
Re:Algorithms you should know before you take system design ... by michaelrubin on Thursday August 11, 2022 @08:57PM (#32433678)
It takes a skilled interviewer to deal with and evaluate that level of nuance on the fly. It's much easier to scale an interview process with checklists.