Show HN: Every problem and solution in Beyond Cracking the Coding Interview

108 leeny 37 5/28/2025, 5:06:13 PM
Hey HN, I'm Aline, founder of interviewing.io and one of the authors of Beyond Cracking the Coding Interview (the official sequel to CTCI).

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.)

Comments (37)

jwmoz · 21m ago
'Principal' developer at my last place spent 100 consecutive days grinding leetcode. Shortly after had an interview where they made him do a leetcode test live and he failed it.

The whole thing is broken.

quelup · 1h ago
This is awesome. Just for awareness - I started going through the book a few days ago and there's a lot of other useful information outside of the LC style questions (e.g. what's actually important on a resume, how to realistically get your foot in the door with companies, etc.). Very data driven and comprehensive, so for me there's still a lot of value in the non LC parts of the book.
slackware_linux · 1h ago
Incredible value here, thanks for sharing Aline. The book itself is a wonderful resource, not just for the technical chapters but the rest on resumes and reaching out etc. Even the technical portion provides the framework (boundary thinking, triggers, etc.) which is above and beyond basically any other resource online or in print. The AI interviewer is also super useful and the 'book' section of the site is very well put together. 10/10.
davidpfarrell · 21m ago
How did your site know my first/last name when I gave my email address to create an account and clicked the confirmation link you sent?
bungled · 1h ago
Aline and team are doing great work. Love to see this!
tanchaowen84 · 1h ago
To be honest, I’ve done quite a bit of LeetCode, and while it’s great for practicing algorithms and problem-solving, I’ve found that I rarely use these “fancy” algorithms in my actual work. Most of the time, what really matters is breaking down requirements into clear logic, writing maintainable and collaborative code, and communicating well with the team. These skills are hard to assess through algorithm-focused interviews alone. I really hope interviews can place more emphasis on practical engineering skills and real-world scenarios, which would be more valuable for both companies and candidates.

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!

leeny · 1h ago
OP here.

A few of you have asked why we made these problems free. The answer is twofold, simple, and maybe even a bit underwhelming:

1) We want people to read the book (To wit, we've also made 9 chapters of the book free: http://bctci.co/free-chapters)

2) We want people to use interviewing.io

In my career, I've written a lot of stuff about hiring, and I've shared a lot of interview-related materials (e.g., full length interview replays). I hate paywalls for content, and you probably do too... and I have never regretted making it free. In my experience, putting good stuff out there is the best way to market to an eng audience.

bko · 1h ago
Thank you for this. Some people are critical of coding tests but I do this there is a point: namely to weed out people who can't code.

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 · 6m ago
> namely to weed out people who can't code.

You don't need Leetcode style tests to weed those out. Much simpler problems will do it.

stmw · 53m ago
You are not the only one. I've interviewed probably 1000's of engineers and it is striking how often one runs into candidates that can't code... or ones that operate at a level far below what you would expect.
dwightgunning · 1d ago
Proud to have helped work on this. Happy to field any questions.
squeegee_scream · 1h ago
Why make the questions and AI interviewing free? This sounds too good to be true
leeny · 1h ago
See above (or below!): https://news.ycombinator.com/item?id=44136448 TL;DR We want people to read the book and use interviewing.io, and we think this is the best way to do it.
dcsan · 2h ago
This sounds like an amazing resource. What’s the rationale for making it all free?
diarrhea · 1h ago
> What’s the rationale for making it all free?

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.

leeny · 1h ago
I agree with what Mike said. We shared the content because we want people to read the book and to use interviewing.io... it's not because we've given up on it (see my longer comment about it: https://news.ycombinator.com/item?id=44136448). We have yet to see any real evidence that technical interviews are dying.

What is hopefully dying is companies asking verbatim LeetCode questions and candidates having to memorize a bunch of questions. We wrote this book largely because we wanted to teach people how to think. I knowing how to think is only going to get more valuable.

michael_mroczka · 1h ago
Hot take from the author: This is a commonly repeated claim, but it’s probably not accurate.

It’s FAR easier for companies to stick with the interview process they’ve used for decades—just mandate in-person interviews again—than to reinvent the wheel with some new, unproven format. Sure, there’s a growing need to assess more than just DS&A in initial screenings, but let’s be honest: those interviews aren’t going anywhere.

The REAL reason to make these resources free? Because it’s not a competitive advantage to offer problems to practice. There are already tons of free problems online. The real value isn’t in giving people a place to do problems—that already exists. The value is in the book. If you already know enough to do well on problems without the book, then you shouldn't have to pay to practice it.

Peroni · 1h ago
Aline is a bit of a Hacker News legend. She's been active here for longer than most people have been working and when you see how she's built her product, it's plainly obvious that she legitimately understands and sides with the HN community.

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.

notyourwork · 1h ago
What does “side with the community” mean?
AndrewStephens · 1h ago
Cracking the Code Interview is a great book and excellent for practice and brushing up. But I have found leet-code questions terrible for actually interviewing candidates. A lot of them boil down to whether the candidate knows the specific trick or can regurgitate the memorized solution.

(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 · 25m ago
Leet Code style questions are a shorthand assessment for two things:

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.

jwmoz · 14m ago
It's def not "Raw mental horsepower" it's more knowing an obscure algorithmic trick.
wapeoifjaweofji · 9m ago
People love to say things like this. In my experience on both sides of these coding interviews in FAANG companies, the questions are basically never algorithmically intensive.

The furthest I've ever seen it go in practice: binary search, BFS/DFS, hash tables. I've never seen any more obscure algorithmic trick than standard uses of these algorithms and data structures.

I'm not saying leetcode doesn't have more insane questions, but interviews tend to be straightforward.

paxys · 50m ago
People keep saying this, but no one ever shares any meaningful data to make their case. Tech companies have been using Leetcode-style interviews to hire programmers for decades, and have grown in value from nothing to trillions of dollars in that time. The industry as a whole is worth tens of trillions, and the software these fake Leetcode programmers have built has eaten the world. Large companies have all spent billions on recruiting and internal processes and have come to the same conclusion - coding interviews work, and are very effective. Why should they stop? Vibes? Online comments?
dimgl · 39m ago
I used to agree with the anti-Leetcode sentiment like the OP, but changed my tune fairly quickly once I started doing actual production-grade software engineering that goes beyond just simple CRUD and realized the things that Leetcode tests are applicable everywhere. It just kinda clicked one day for me and I started passing Leetcode assessments.

Sure, some interviews are pretty hard and some algorithms/data structures are not as common on the job. But given a complex enough system, you'll run into lots of situations where having this foundation will pay off. I mean, it's just computer science.

That's the thing about software engineering. You can get a lot done without knowing the foundational stuff. But then you're just a blunt instrument. Everything looks like a nail to a hammer.

ownagefool · 27m ago
I'm pro make them code and test their big o.

Honestly it's 30-45 minutes where you can establish whether the person can code, and whether they have the basic foundational knowledge to crack efficiency problems is pretty hard to beat.

Whilst there's probably diminishing returns on making the actual challenge more and more difficult, the general concept is a lot fairer than the majority of other interview types I've had thrown at me. ( Usually something they've solved internally, where they expect you to regurgitate the same answers without the same context )

QuadmasterXLII · 1h ago
Hot take: these interesting, contained problems that you really can solve on your own are a finite resource, and every time you read the solution to one you permanently deplete that resource for yourself.
stuartjohnson12 · 1h ago
Hotter take: manipulating intelligence signals is more effective for achieving things than doing things to improve intelligence.