Hacker Newsnew | past | comments | ask | show | jobs | submit | RobKohr's commentslogin

Memorize them? All? Is that even possible.

You puzzle through them, think out loud, and figure them out. It lets interviewers know how you think.

Not sure why the hate for them. If you are a competent programmer, they aren't usually that difficult.


> If you are a competent programmer, they aren't usually that difficult.

That's reaching.

Most capable programmers may be confused or be blank when they are forced to solve a time boxed puzzle. They may even wrongly conclude that they are incapable of doing it. But, in reality it is just their mind is not stimulated/focused enough to solve that particular version of puzzle. When their mind is free, they could solve anything similar even from first principles.

OTOH, leedcode problems themselves fall under a predictable pattern, and by memorizing(familiarizing) certain recurring patterns, you can give the impression that you have thought through the problem. This is what most recent college grads do - Hey, this is easy, let us find a pivot for this quick sort problem.

Original thinkers might even question why you need a quick sort for this problem (for e.g Homebrew Max Howell inverting the binary tree). But then clock is ticking and you should solve the problem or you cannot pay your bills.

Leedcode is an approximation that works for companies. It does not say anything about the capability of the person, just their preparedness to be evaluated on this specific criteria.


It’s certainly possible. You don’t need to memorize all of them. Recurring patterns appear, so you end up memorizing the patterns, and then the exceptions for specific problems. It’s not dissimilar to learning a human language, which we also can do.

More to the point, interview questions go through fads, so you’ll get repeated hits on the same class of questions if you do a few rounds. I’ve literally had job offers (yes, plural: this has happened multiple times) because some nitwit hit me with the exact same question I saw the week before.

This happens more than you are likely aware, and is a perfect example of why the approach is stupid. Everyone is cargo-culting each other, pretending it’s a brilliant, unassailable system, and they’re completely unaware that ten other companies are asking the exact same things.


If 30% of their chips were going to China and now they have to stop that, it means they will have an excess supply of chips and the prices would go down instead of up.

That would be the case if competitors were in the same state.

SO was great. A well formed question would get an answer within an hour or two. I asked so many questions I got to top 5% without even answering much myself. It was my early LLM, and it also taught me how to ask questions really well, and that helps a lot with prompting.

Now I get my answer in minutes.

Someone took the parts of the original mousetrap and built a new mousetrap from it.

Time will tell how well those parts hold up as things change without a good source of data.


I don't know. This is hacker news.

I could see someone making a set of videos of themselves wearing different clothing and just looping it on a screen driven by raspberry pi in front of the webcam.

This all looks like a challenge to me.


Grimms' Fairy Tales (Leather-bound Classics edition)

I have been a dad for 18 years and am about to have my 7th kid. I read lots of different kids books to them, but usually when they are about 5 they start to love it when I read Grimms's Fairy Tales (before that they are bored when they hear them).

They nick name them the Death stories, and kinda laugh about how it is crazy they are stories for kids (so much disappointment when they make . But, damn if they don't always want to hear them all the time.

What is nice is there is nothing sugary sweet about them, and there are great lessons to untangle from the stories. Sometimes the lesson though is that sometimes bad stuff just happens, and you have to deal with it.

It also has a sliver of a view of how people long ago saw things and what was important then, and what still is important today.

We are almost through our second lap through the book, and I could see another lap or two through it as our next child comes into listening to it, then maybe I'll be reading it to my grandchildren.


I feel like tabs could have won if there was a stretchable tab character instead of it looking like a bunch of spaces. Being invisible meant that it was treated as a bunch of spaces. I could see it being visible as a very light gray block with just a tiny right margin. This way it would be easy to see how many indents there are.


Evil genie response:

Wish granted. Now the game takes 2 times as long to release, costs 3 times as in labor to create, and 25% of the customer base will not be able to run it on their machine for performance and storage reasons.

Because graphic fidelity wasn't as important for the game as just quickly understanding what is going on in the game, users are having a harder time parsing what they see and are unhappy.

You blew your budget, and didn't grow your userbase (at least not significantly - you already were the premier citybuilder on steam), and now you are bankrupt and are no longer able to do maintenance updates on the abandoned game.

Lesson: sometimes there be tradeoffs.

Upside: your dead game now has a soul


Finding security flaws is not sentient and is a good thing.

Humans have been doing it for decades.

People should be running LLMs on their own systems to test them.

The flaws are there whether they are seen by ai or not.


Oh please regulate us. Make rules only established players can follow.

This is so on purpose.


Yeah, Ukraine should have held onto its nukes. But it got a lovely piece of paper to protect itself with.


easy to say at a distance. It didnt have full control and had the nuclear powers pushing them to.

We dont know if Ukraine would be a state today if they refused


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: