News for hackers. Stuff that matters.
Re:Caltech's CS interview prep course by amznbyebyebye on Sunday February 27, 2022 @04:22PM (#30492635)
So wait you are smart enough to get into caltech, smart enough to graduate with a degree in CS. And yet the curriculum on its own does not do a good job enough on its own to prepare you for getting a job? Very hard to graduate with a decent GPA in CS at caltech and not be able to thrive as an entry level engineer. If you got B’s in caltech CS I’d make you an offer for 200k+ without blinking or even asking you anything.

I have a small friend circle, I would say they’re all smarter than I am on raw problem solving and intellect capability. They came out with better degrees from better institutions. All have PhDs and yet they’re all facing delays when landing a job. There is something definitely broken. I think the industry has created this problem and the industry should fix it.

Re:Caltech's CS interview prep course by NERD_ALERT on Sunday February 27, 2022 @04:41PM (#30492819)
Computer Science is not Software Engineering. A PhD does not translate to real world engineering skills. If you just go through a bachelors CS curriculum, designed to give a survey of all topics in academic computer science, that wouldn't make you a competent engineer. This is especially true now that through the internet, just about anyone with a laptop can get as good as they want at software engineering without ever stepping foot in an academic institution. Sites like Free Code Camp, Kaggle etc. have torn down all of the barriers preventing anyone from learning how to be an incredible engineer. Some of the most important software in industry is open source and anyone can take the time to learn how to contribute to it.

If I had the choice between a Caltech grad who had all A's and no experience or a student from some random state school who had interned every summer and contributed to open source, I'd pick the latter. Many people are locked out from ever attending elite schools in the first place despite competence due to coming from poor backgrounds and underfunded highschool districts.

Re:Caltech's CS interview prep course by Firmwarrior on Sunday February 27, 2022 @05:05PM (#30493126)
> If I had the choice between a Caltech grad who had all A's and no experience or a student from some random state school who had interned every summer and contributed to open source, I'd pick the latter.

I really wish someone had explained this to me while I was in college.. I had ONE professor who'd actually worked in the real world who explained it, but all the other professors were lifetime academics who just parroted the same idiotic stuff about how important it is to get good grades.

Getting my first engineering job after I graduated was a nightmare.. I ended up having to go with a crappy internship that barely paid enough for me to live in a bedroom in a shared house, with a terrible boss who constantly threatened me and stressed me out. And that's with a 3.8 GPA.. When I told prospective employers that, they were like "What is that? Out of 4? 5? Is that good?"

Re:Caltech's CS interview prep course by mettamage on Sunday February 27, 2022 @05:29PM (#30493396)
A lot of talent is wasted by young people doing their utmost best at uni only to find out that no one cared. I applied to FAANG after graduating CS and no one got back to me.

A friend of mine in the HFT world told me “I know how hard some of your courses were. But you can’t highlight them on your cv because no one will believe you that they were that hard. And even if they did, they wouldn’t believe that those skills are transferable.”

Going to yet another job interview, I spoke to my interviewer who had a similar CS specalization but from another uni. He told me “my master was of baaad quality.” I responded with: “mine wasn’t, and my classmates all feel the same because we’ve learned practical skills and our teachers prided themselves in giving difficult yet practical courses.” He looked at me with disbelief.

Re:Caltech's CS interview prep course by trinovantes on Monday February 28, 2022 @05:46AM (#30498475)
This is partially why same alumni hire each other as they already have a priori knowledge of the education the other has received e.g. whether or not a course is difficult/easy etc.

Back in undergrad, I was talking to a hiring manager who was an alumni from my school that said if he will hire anyone no questions asked if he sees anyone with X course on their transcript/resume (listing the project from the course)

Re:Caltech's CS interview prep course by deltaonefour on Monday February 28, 2022 @01:25AM (#30496962)
>Computer Science is not Software Engineering. A PhD does not translate to real world engineering skills.

OP is not comparing a caltech grad to someone who contributed to open source. OP is comparing caltech grads to someone who studied algorithm interviews.

I agree. Degrees and accreditation are sort of gateway policies to conduct deliberate filtering and maintain a class based social hierarchy. There is some merit as it does take a brutal level of hard work and intelligence to get into caltech.

However, algorithms are the exact same type of filter, both are pretty much divorced from any relationship to the job at hand.

Re:Caltech's CS interview prep course by rtlfe on Sunday February 27, 2022 @06:58PM (#30494243)
> If you just go through a bachelors CS curriculum, designed to give a survey of all topics in academic computer science, that wouldn't make you a competent engineer.

True, but it's probably not a worse predictor than most interviews.

Re:Caltech's CS interview prep course by hnfong on Monday February 28, 2022 @12:29PM (#30502436)
It's not the interview that counts but the interviewer (or, in some degenerate cases, the "hiring committee").

A good interviewer can assess a candidate's competence even with crappy questions / question bank. A bad interviewer will often make wrong hiring decisions even if they asked good questions.

Re:Caltech's CS interview prep course by closeparen on Sunday February 27, 2022 @04:45PM (#30492868)
That’s a fair point but the kind of interview this course is preparing you for is a CS test, not a practical software engineering test.
Re:Caltech's CS interview prep course by SteveDR on Sunday February 27, 2022 @05:32PM (#30493422)
Yes but the interviews are primarily used to screen candidates for SWE roles
Re:Caltech's CS interview prep course by closeparen on Sunday February 27, 2022 @10:42PM (#30496141)
To the extent that companies test CS fundamentals to screen SWE roles, however, we can reasonably argue the implementation of the CS fundamentals test.

It seems to me that four years worth of coursework and exams provide a better assessment than a couple hours of on the spot performance.

Re:Caltech's CS interview prep course by Nimitz14 on Sunday February 27, 2022 @06:56PM (#30494228)
Nobody is a "competent engineer" fresh out of university.
Re:Caltech's CS interview prep course by saagarjha on Sunday February 27, 2022 @07:38PM (#30494608)
They are if they learned how to be an engineer in parallel.
Re:Caltech's CS interview prep course by Nimitz14 on Monday February 28, 2022 @06:15PM (#30506541)
That is basically impossible. Becoming a good engineer requires learning from the consequences of decisions you yourself made years ago. Doing internships will not give you that no matter how many you do.
Re:Caltech's CS interview prep course by saagarjha on Monday February 28, 2022 @06:21PM (#30506600)
That's what open source projects are for ;)
Re:Caltech's CS interview prep course by majormajor on Sunday February 27, 2022 @05:02PM (#30493093)
Here we see what the alternative to whiteboard interviews: credentialism. Get into the right school and muddle through and get a guaranteed 200k!

Is there more to you than your high school performance? Push back against this if so!

(Calling the interview Leetcode is misleading IME, since I've rarely been asked something that would be near the upper tiers of that site's difficulty).

Top-tier tech companies face a LOT more competitive pressure than top-tier universities; why should I trust the university selection process more than those corporate hiring ones?

Ask yourself why the rest of the industry isn't happy to simply hire every B student from CalTech/Stanford/MIT/Ivies without an interview?

Re:Caltech's CS interview prep course by yodsanklai on Sunday February 27, 2022 @05:18PM (#30493271)
> why should I trust the university selection process more than those corporate hiring ones?

I don't know the US education system enough, but there are some schools out there which are much more selective than any SWE interview process. You can be guaranteed that the worst student from these top schools could nail any algorithm interview with minimal preparation.

But these big companies hire many more people than these few schools can provide, and they do so globally, from countries that may not have such elite schools.

Re:Caltech's CS interview prep course by majormajor on Sunday February 27, 2022 @05:32PM (#30493421)
Needing to hire more than just the top schools graduate is certainly a reason companies can't limit themselves to university selection processes.

But that's not all that's going on here! CalTech is pretty selective as far as US schools go (6% acceptance rate). Slightly more than MIT, slightly less than Stanford. SAT score stats all in the same 1500+ range.

But they're offering this course, and that makes me think that no, the worst student from these schools in the US, at least cannot nail any algorithm interview with minimal prep!

And that makes sense, from a US perspective! Getting into CalTech or Stanford or MIT is about doing well at high school/early-college level material in high school, and about extracurricular activities, with a dash of being able to afford it and being told it's something you should try for. Most of that high school curriculum - even most college-level CS material - isn't super applicable to a software engineering job. It's heavier on memorization (we have google for that!) and it's heavier on theory than on creative application of things.

I might argue that any test or course where the answers to the exams come straight out of the textbook isn't worth as much as it used to be, since we've got Google and SO and all the books too!

That's a big part of why a lot of these whiteboard interviews aren't simply "write out Dijkstra's algorithm" (boring, textbook!) but are about seeing if you can figure out how to use apply CS in a situation where the way the problem maps to the algorithm isn't immediately obvious.

Creative work has a long history of not aligning well with traditional US university admissions criteria and evaluations.

Re:Caltech's CS interview prep course by yodsanklai on Sunday February 27, 2022 @06:17PM (#30493861)
> But they're offering this course, and that makes me think that no, the worst student from these schools in the US, at least cannot nail any algorithm interview with minimal prep!

I think it's impossible to nail these interviews without minimal prep. It's very specific, and every candidates are well-prepared, many of them have done 500+ leetcode questions before interviewing.

Regarding the US universities, I'm not sure but I wonder if some students can somehow compensate a lack of academic mathematics excellence with extracurricular activities, or being rich or from a minority. Maybe companies want to filter those out?

As for creativity, leetcode interview questions is all about preparation. There's little creativity.

Re:Caltech's CS interview prep course by saagarjha on Sunday February 27, 2022 @07:46PM (#30494662)
> I think it's impossible to nail these interviews without minimal prep. It's very specific, and every candidates are well-prepared, many of them have done 500+ leetcode questions before interviewing.

It’s definitely possible. Mostly you’d want to learn your algorithms well in college and continue to exercise them in your work. The rest of the interview is a lot about how you present yourself, which is mostly along the lines of “work out the problems out loud and ask questions”.

Also, FWIW, I’ve had a decent amount of opportunities for creativity on Leetcode-style questions. When permitted I often pick the language that I feel would make the solution simpler or easier to understand. When doing things like linked list or graph traversal you’re often asked to define the datastructure you’ll be using, which is a good chance to use different types of polymorphism or algebraic datatypes that can make your task easier. Even if you’re just churning out for loops, a lot of them can be replaced with functional methods or selective application of interesting utilities such as array rotation.

Re:Caltech's CS interview prep course by yodsanklai on Sunday February 27, 2022 @08:25PM (#30495025)
> Mostly you’d want to learn your algorithms well in college and continue to exercise them in your work. The rest of the interview is a lot about how you present yourself, which is mostly along the lines of “work out the problems out loud and ask questions”.

Not my experience. When I interviewed at Google for a senior position, I mostly had difficult questions with little interaction with the interviewer.

Before my preparation, I could solve all the questions within let say a couple of hours and I knew very well all the algorithms. But that's not what's expected to pass. You're competing with people who have been working very hard on this style of interviews and you need to be among the best.

You're expected to find the answer to a couple of questions within a 40 min. That includes finding the solution, writing the code (not pseudo-code), testing your solution and discuss complexity.

Thinking 15min + sketching some pseudo code is not enough, or maybe for a particularly hard problem.

Re:Caltech's CS interview prep course by saagarjha on Monday February 28, 2022 @01:26AM (#30496969)
I can understand not being used to writing pure algorithms for an interview, so I guess that is something you can certainly spend a bit of time working on improving. But I’m a bit curious about being able to solve a question in “a couple of hours”. In my experience most of the interview questions I’ve seen are of the “I know how to do this and I can implement it, maybe needing a little bit at the end for some edge cases” or “I have no idea how to do this, I’m just going to brute force to have something and then spin my wheels for the remainder of the time”. I can see the time being useful for competitive programming, where you often need to put things together in nontrivial ways, but I find that most interview questions are fairly straightforward once you know what the algorithm or data structure is. Unless you’re rederiving it in the fly, which I have done sometimes, but it’s still not something that I would spend a couple hours on.
Re:Caltech's CS interview prep course by thaumasiotes on Sunday February 27, 2022 @06:56PM (#30494219)
> But they're offering this course, and that makes me think that no, the worst student from these schools in the US, at least cannot nail any algorithm interview with minimal prep!

My take on this is that the problem is misaligned expectations. I failed Google's algorithmic interview round twice under the assumption that when the interviewer asked me a question, the point was to see if I could come up with the answer.

But that isn't true. The interview questions are chosen with the expectation that candidates cannot come up with the answer themselves. Instead, the point is for the candidate to cold-read the answer from the interviewer.

When a test -- or a computer -- asks you how to do something, it won't care or even realize that you spent ten minutes thinking about the problem before starting to write a solution down. But an interviewer will fail you for doing that.

That insight was enough to pass the interview round. And it also suggests that a course in "how to pass an interview" should boost CalTech grads' passing rates to nearly 100%, because all they need is to be informed of the "proper" technique.

Re:Caltech's CS interview prep course by saagarjha on Sunday February 27, 2022 @07:49PM (#30494699)
> I don't know the US education system enough, but there are some schools out there which are much more selective than any SWE interview process. You can be guaranteed that the worst student from these top schools could nail any algorithm interview with minimal preparation.

There’s a whole lot of spread at any college. Assuming a hypothetical ranking from 1-100 with 1 being unable to program or problem solve and 100 being your Jeff Dean/Fabrice Bellard/Linus Torvalds programming god of choice an average state school might give you people from 30-70 and a top school might be 40-80. Lots of smart people go to state schools and lots of idiots come out of top ones.

Re:Caltech's CS interview prep course by closeparen on Tuesday March 01, 2022 @11:20AM (#30516075)
I went to a highly selective university and I certainly could not not nail any algorithm interview with minimal preparation. Algorithms is one class. It consisted mostly of proofs, a little pseudocode, zero working programs. The particular algorithms we spent a lot of time on were pretty obscure in the interview world: Gale-Shapley matching, Ford-Fulkerson max flow. The goal was never to have a wide repertoire of algorithms that you could write down on command, and certainly not anything to do with implementation.
Re:Caltech's CS interview prep course by SamReidHughes on Sunday February 27, 2022 @07:30PM (#30494548)
Caltech does get the occasional bad admit, where the admissions office gets bamboozled or takes a risk. The one case I knew personally could write code decently well compared to many Stanford grads, but couldn't handle the Caltech curriculum and would probably do poorly on a coding interview.
Re:Caltech's CS interview prep course by SteveDR on Sunday February 27, 2022 @05:41PM (#30493506)
> You can be guaranteed that the worst student from these top schools could nail any algorithm interview with minimal preparation.

Considering that CalTech offers this course, they must be realllyyyy misguided, or you’re talking about schools that are far more selective than CalTech (7% acceptance rate).

Re:Caltech's CS interview prep course by yodsanklai on Sunday February 27, 2022 @06:26PM (#30493942)
I don't know what it takes to study at CalTech. But I nailed the interviews at FB and Google and there's no way I could have studied maths at Cambridge for instance. Leetcode is just a matter of solving enough problems so that you can do them almost out of memory on the white board. The curriculum is basically algorithms at undergraduate level. Seriously, it's easy.
Re:Caltech's CS interview prep course by hither_shores on Sunday February 27, 2022 @07:00PM (#30494268)
> So wait you are smart enough to get into caltech, smart enough to graduate with a degree in CS... If you got B’s in caltech CS I’d make you an offer for 200k+ without blinking or even asking you anything.

I went to Caltech and would definitely not do this. The CS faculty was fantastic, but the undergraduate option has some problems:

- a wildly disproportionate share of cheating cases came from CS undergrads

- CS graduation requirements are very flexible, which is a mixed blessing. On the one hand, giving students more freedom is broadly a good thing, and many of them use that freedom to double major or go deep into specialized grad level work. On the other hand, some of them use it to construct schedules much easier than most other options would allow. Not all of them, but enough that "B's in caltech CS" is not as strong a signal as you might think.

Some signals I would consider stronger for Caltech students:

- CS/Math double majors. Or CS/[Any technical subject], for that matter.

- Summer research: someone paying five figures of opportunity cost to do something they think is interesting is probably not a $/effort optimizer.

- Grad-level CS coursework. CS 139 (Design and Analysis of Algorithms) in particular pulls no punches.

Re:Caltech's CS interview prep course by BalinKing on Monday February 28, 2022 @12:17AM (#30496694)
Just out of curiosity, do you consider “$/effort optimizer” to be desirable or not?
Re:Caltech's CS interview prep course by strikelaserclaw on Monday February 28, 2022 @01:06PM (#30502919)
obviously not, judging by his tone, people who optimize for money might only study leetcode. Algorithm skills probably account for at most 10-20% of the skills you need to become a good software engineer.
Re:Caltech's CS interview prep course by ZephyrBlu on Sunday February 27, 2022 @04:40PM (#30492806)
> If you got B’s in caltech CS I’d make you an offer for 200k+ without blinking or even asking you anything

Why? This is not necessarily a good signal for competence on the job and also doesn't cover people who have lied or cheated.

Also, this wouldn't help create a less broken job market. You'd just be breaking it in a different way.

Re:Caltech's CS interview prep course by giantg2 on Sunday February 27, 2022 @04:43PM (#30492849)
"So wait you are smart enough to get into caltech, smart enough to graduate with a degree in CS. And yet the curriculum on its own does not do a good job enough on its own to prepare you for getting a job?"

This was my first thought too. A course just for passing interviews seems odd. We had two small activities that were part of a business course (business administration minor), but after hours. One was a mock interview to give you feedback about professional appearance, not fidgeting, etc. The second was a mock business dinner to provide feedback about etiquette, customs, etc. These were valuable, but they focused on soft skills that aren't covered in the regular course content.

Re:Caltech's CS interview prep course by VirusNewbie on Sunday February 27, 2022 @04:33PM (#30492741)
Its possible that this is another sign interviewing for software jobs is broken, but it is equally possible that this shows the skills required to excel in high school and be accepted to college are easily gamed and Cal Tech isn’t exactly filled with the most intelligent problem solvers.
Re:Caltech's CS interview prep course by kolbe on Sunday February 27, 2022 @04:36PM (#30492763)
This is probably because interview questions are more often than not just brainteasers stacked on top of into-level content. Much in the same way that juniors in high school taking Calculus still need to study for SAT math: it's not really consistent with measuring the content of advanced courses at top places.
Re:Caltech's CS interview prep course by ivanamies on Sunday February 27, 2022 @05:50PM (#30493600)
>If you got B’s in caltech CS I’d make you an offer for 200k+ without blinking or even asking you anything.

thanks, it means a lot you trust my ability so much :)

>All have PhDs and yet they’re all facing delays when landing a job. There is something definitely broken.

Everyone agrees it's the leetcode interview format. I agree to some extent, but I wouldn't throw it out completely. For me, I give four problems, and the candidate must solve two of the four with full internet access in an hour. It seriously reduces interview day variation for good candidates. If they can't do graphs but can do text formatting, they get a pass. I'm sure there's still some better way of doing this.

Re:Caltech's CS interview prep course by throwaway984393 on Sunday February 27, 2022 @11:03PM (#30496288)
> And yet the curriculum on its own does not do a good job enough on its own to prepare you for getting a job?

Welcome to "Education". We don't teach you life skills, but we will teach you stuff that you'll immediately forget and look up online the one time you need it in life (if at all).

Re:Caltech's CS interview prep course by gcheong on Sunday February 27, 2022 @04:42PM (#30492827)
The industry recreates the problem every so often with different variants. Previously it was the Microsoft/Google “thought problems” such as “Why are manhole covers round?” and “How would you estimate the number of gas stations in a city?”.
Re:Caltech's CS interview prep course by onion2k on Sunday February 27, 2022 @04:59PM (#30493058)
Thet change when they realise the current method doesn't actually work. They're not recreating the problem; they're looking for a solution.
Re:Caltech's CS interview prep course by gcheong on Sunday February 27, 2022 @07:15PM (#30494392)
In their quest to find a solution they simply recreate the problem with a slightly better approximation of an actual work sample evaluation. It’s like watching a Newtonian approximation algorithm.