Show HN: Every problem and solution in Beyond Cracking the Coding Interview
151 points| leeny | 9 months ago
We just compiled every problem (and solution) in the book and made them available for free. There are ~230 problems in total. Some of them are classics like n-queens, but almost all are new and not found in the original CTCI.
You can read through the problems and solutions, or you work them with our AI Interviewer, which is also free. I'd recommend doing AI Interviewer before you read the solutions, but you can do it in whichever order you like. (When you first get into AI Interviewer, you can configure which topics you want problems on, and at what difficulty level, and you can add topics and change difficulty levels as you go.)
Here's the link: https://start.interviewing.io/beyond-ctci/all-problems/techn... (You'll have to create an account if you don't already have one, but there's nothing else you need to do to access all the things.)
tanchaowen84|9 months ago
I’m currently preparing for interviews myself, so having access to high-quality, free resources like this is incredibly helpful. The AI interviewer feature, in particular, looks like it will be very useful for me. Thanks again to the author for making these resources available!
IshKebab|9 months ago
But I did have one job working on an AI graph compiler which used fancy algorithms all over the place. In practice though I found the space between "use the standard library" and "it's NP-complete; use heuristics" where the answer is "you can use this neat dynamic programming trick" is basically nonexistent.
quelup|9 months ago
slackware_linux|9 months ago
devnull3|9 months ago
Actors for sure with auditions and maybe maybe chefs, male pornstars.
bespokedevelopr|9 months ago
Not that I agree with absurd interview process of software development but they often see themselves more akin to attorneys than tradesmen. The difference being attorneys have to pass a bar exam and even trades have journeyman cards to provide credibility.
Software development has none of that. Real engineering has PE licenses but how do you achieve that in such a broadly scoped field of software development?
We either play the interview game or find a way around it.
jghn|9 months ago
staging [1] is very much a thing for kitchen staff
[1] https://en.wikipedia.org/wiki/Staging_(cooking)
williamdclt|9 months ago
lapcat|9 months ago
jwmoz|9 months ago
The whole thing is broken.
Spivak|9 months ago
They could cheat on the take-home but it isn't meant to be difficult and you hopefully figured out at the in-person that they're someone who wouldn't need to bother cheating.
HeyLaughingBoy|9 months ago
stevenalowe|9 months ago
barbazoo|9 months ago
bungled|9 months ago
dwightgunning|9 months ago
squeegee_scream|9 months ago
avinassh|9 months ago
My name is Aline, and I'm the founder of interviewing.io. Thanks so much for your interest. It looks like you’re not in a country where we’re open for business yet, so we can’t create your account, but we’ll add you to our waitlist.
leeny|9 months ago
joshdavham|9 months ago
hakkotsu|9 months ago
dcsan|9 months ago
diarrhea|9 months ago
The writing is on the wall for Leetcode-style interviewing. The signal-to-noise ratio is diminishing in the age of AI (cheating). These sorts of puzzle challenges might no longer play a meaningful role going forward.
Peroni|9 months ago
I bet the genuine answer to your question is that she knows it's a resource that could help tons of people (at a time when tons of people need that help) and paywalling it means that it won't serve that same purpose.
hintymad|9 months ago
OnionBlender|9 months ago
leeny|9 months ago
We built it this way on purpose, though... the intent is to mimic an interview and gently force you to talk through your thought process, not to have yet another LeetCode clone.
davidpfarrell|9 months ago
leeny|9 months ago
neilv|9 months ago
Today, CS student's idea of an industry interview has turned into an extortion racket cottage industry, with people not only selling ritual prep books, but now also selling mock interview rituals with techbros who got into the best-paying companies.
Youse has a lovely career potential; its would be a shame if somethings was ta happen to your job interview.
What more does it take to realize this is very time-consuming and expensive theatre, and terrible metric for hiring good software engineers.
And if you're an employer who doesn't care that students spend many hundreds of hours rehearsing for the interview theatre, to the exclusion of getting more experience building things, and that your interviews aren't actually selecting for software engineer aptitude, what happens when the hire takes that same misaligned hoops-jumping mindset to their work.
unknown|9 months ago
[deleted]
bko|9 months ago
Am I the only one that interviewed people with lengthy resumes full of programming experience and when I asked them to do a simple programming exercise they fell flat on their face? I've seen experience in C, gave them take home two hour exam and they couldn't even get anything to compile. What he meant was he took a class a few years back.
You see it in other domains with extensive Excel experience and the guy gets hired and never heard of a vlookup.
I think some of the stuff is overkill but you need to select for people that know how to program.
I for one am glad they exist because I don't have a CS degree but learned on my own. I lucked into this profession through an online leetcode style screener and your book helped me immensely,so thank you
BeetleB|9 months ago
You don't need Leetcode style tests to weed those out. Much simpler problems will do it.
stmw|9 months ago
AndrewStephens|9 months ago
(Maybe I am just bitter because I have more than once bombed a leet-code interview myself)
I interview a lot of people and my go-to coding question is actually a pretty simple question that might be found in a 2-year coding course. What I am looking for is production ready code, good error handling, tidy design, and understandable code. All things that leet-coding specifically discourages.
brettgriffin|9 months ago
1. Raw mental horsepower
2. The ability to just repeatedly do focused learning, aka just grinding
And sure, it probably does favor #2 these days - but that is a critically important skill. You can trade one for the other, but everybody has some amount of both, and these questions figure out, roughly, your computed aggregate score of these.
They have a very high false negative rate, but an exceptionally low false positive rate for a 60 minute interview, so it works very well in companies with large interview candidate pipelines.
koliber|9 months ago
Maybe we have different things in mind when we say "leet-code questions".
I don't know why leet-code style interviews would discourage the things you mentioned.
paxys|9 months ago
unknown|9 months ago
[deleted]
QuadmasterXLII|9 months ago
stuartjohnson12|9 months ago
commandlinefan|9 months ago
unknown|9 months ago
[deleted]
lr0|9 months ago
[deleted]
tomhow|9 months ago
It's fine and welcome here to critique anything, we're just trying to make HN something other than a ragefest, particularly about topics that people have been saying the same enraged things about for a long time.
When the same things have been said about an issue for a long time, it's time to think about new ideas and new solutions to that issue.
[1] https://news.ycombinator.com/newsguidelines.html
unknown|9 months ago
[deleted]
constantcrying|9 months ago
tomhow|9 months ago
Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.
Please don't fulminate.
Please respond to the strongest plausible interpretation of what someone says, not a weaker one that's easier to criticize. Assume good faith.
Eschew flamebait. Avoid generic tangents. Omit internet tropes.
Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something.
https://news.ycombinator.com/newsguidelines.html
arbll|9 months ago
The idea all tech companies require you to know niche data structures is kind of a meme honestly. I'm sure some do but not the ones I've interviewed at at least.
pc86|9 months ago
I'm not necessarily arguing that software engineering should have some gatekeeping organization that you need to prove yourself to, but you take the good with the bad. In other engineering disciplines, a third party organization takes the responsibility of filtering out the unqualified people. In software, the hiring companies have to do it, so you end up with the first interview (at least) being spent just proving you're not lying about every single thing on your resume.
ativzzz|9 months ago
They also tend to pay less
Preparing for interviews is a small price to pay
FirmwareBurner|9 months ago
So the PRO is that anyone can become a SW engineer, but the CON is that when anyone can become a SW engineer you're competing with soo many people on an even playing field that weeding out the wheat from the chaff is tricky and no company had the perfect solution because it doesn't exist.
What other engineering profession things change so fast that tools from ~20 years ago (C, PHP, Perl, etc) are not useful on the job market anymore? What other engineering profession gets hundreds/thousands of applicants per open position? What other engineering profession has such a lack of standardization that every company works completely different, with different tools and different processes to ultimately do the same thing?
In most other traditional engineering disciplines it's not just the university degree or credential that matters to getting in, but a lot of critical knowledge can only be gained from mentoring and learning at the job from graybeards of the industry, knowledge you'll never get if you try to teach yourself, even if technically all the relevant courses and information is freely available online. Not to mention that in a lot of engineering professions the tooling is specialized, non-FOSS and very $$$, so your only chance of touching it is at university or a company who will pay you to get certified in that tooling.
unknown|9 months ago
[deleted]