Ask HN: How to overcome job search exhaustion?

108 points by dsattt ↗ HN
I've been applying to jobs since February and I have reached a point where just looking at another job post gives me anxiety and makes me depressed.

I've done around 40 interviews in the past couple of months alone and I am exhausted. It looks like I will be unemployed until the next year and I have no idea how to get a job.

Technical lead with over 10 years experience. I often get praises during interviews, but never an offer.

147 comments

[ 4.0 ms ] story [ 103 ms ] thread
The point where you about to give up is the point where you are about to make it.
1) Take a short break of at least a full day and do something you enjoy. Get some exercise and some fresh air if you can.

2) Mentally prepare yourself for the grind ahead. A lot of the jobs you are applying to are already filled by the time you get there or the job has been pulled due to economic slowdown but the company is still interviewing because they are disorganized.

3) Try and make a list of the reasons why you are pursuing this job and this career specifically. Clarity around why you are choosing to take on potentially hundred of these gruelling interviews can help you keep your eye on the prize.

4) Be conciously grateful for your blessings. Some people never make tech lead but want it, you seem to have accomplished it early and have acquired a ton of valuable experience. There are others in far worse circumstances. Take heart, although this situation is very tough, because you have a set of problems that many would love to have.

Hope this helps you in some way. May God bless you.

I wouldn't get discouraged since most people don't even make it to that stage, and being exhausted is certainly understandable after 40 interviews. But have you analyzed or asked for feedback on what it is that was missing from the interview step that the employer was looking for?
Most of the time that will likely be fruitless. Companies don't comment on why they made their employment decisions because it opens them up to be sued, with no benefit to them. (At my current company, they warn us not to tell interviewees how they performed.)
In my experience, I've been told things like "we were hoping for more experience with X which we don't think you have adequately demonstrated", although maybe half of the time I have specifically had to ask for that feedback when HR said that I didn't get the job
Man 40 interviews is a lot though. Maybe OP is just asking for a ton of money?
You gotta change something up. Get a certification or learn a new skill if you have the savings to do it. Get a job in another field that hires everyone -- I once took a job as an SAT teacher while I was between jobs because at least it gave me something to do.

Volunteer. Especially if you can volunteer at a relevant industry conference, where you can at least mingle with people who might be able to give you a job lead.

Since you said you had 10 years of experience I assume you haven't gone through a downturn before (or maybe got in right at the end of the last one). It's tough but it's a numbers game. Eventually you'll find someone who is hiring, but you may have to do something else for a while.

Last time I had trouble getting a job I just looked at what the most popular language was in my city. Then proceeded to read a book on C# and make a quick and dirty demo project. Had a job within two weeks after looking for months. It was kind of annoying switching to Windows dev but whatever do what you gotta do.
How did you find programming language popularity by city?
I mean at the time like five years ago I just literally opened LinkedIn, searched for software engineering jobs, and did a tally of the first 200 jobs or so on a piece of paper. About 50 were C# and 50 were Java, and then a mixture of other stuff.

Pretty low tech but it got me a job. I came from a background of doing Elixir and Node.js backend which if someone recognized Elixir seemed to get me brownie points for doing something interesting. I guess whatever site you’re using to look for job listings you could do the same.

Job listings in your local area
Looking at Meetup group membership / attendance used to be a pretty good gauge.
(comment deleted)
.NET core/C# is pretty dope though and its the most widely used in fortune 500s in the backend aside from Java. It’s much less verbose than Java and any Junior engineer can pick it up if they’ve worked with OOP based languages or even JavaScript.
I wanted to make an app to make job searching easier. It's a pain in the ass on both side and imo current tools on the market suck.
Is this really a problem that can be fixed by an app? It seems more like a human behavior issue to me. There is a filter, and people are trying to get through it. It's adversarial, and automating the process makes it easier to game, which is why those solutions have not been adopted.
I think the problem is how the vast majority of inbound job requests are spam or irrelevant, while at the same time there are a few gems out there that can't seem to reach the right candidates.
Sure, but how do you address this routing issue? Let recruiters target candidates in a different and more granular way than Linkedin, I guess? But then there is the issue that the paying customers are going to be on the recruiting end (like they are on Linkedin), not the employees, and the recruiters want to spam. I do think you could find a better way to solve this problem, though. Unfortunately I also think that you would run into this problem (https://www.fortressofdoors.com/so-you-want-to-compete-with-...) except replace Steam with Linkedin.
I think it could, in theory. I've had the idea of approaching it more like a sorting problem. Scrape social media of the candidates and the company, use NLP to provide a 'cultural fit' metric that circumvents the interview process...
Problem with culture fit is that no one is willing to be completely honest about what they want, or what their culture is. No candidate is going to ever say "I'm a mediocre engineer really just looking for something easy where I can coast. Below market comp is OK." And no company is ever going to say "Kind of bureaucratic for a company this size, so want somebody who has a high BS tolerance, and will put up with that in exchange for good pay and reasonably low productivity standards."

Also god help you if your culture fit algorithm has correlations with race / gender / nationality. And there's pretty much a 100% chance it will.

Mediocre means average. Most developers/people are mediocre or average. Perhaps you mean below average.
Sounds like an even worse approach than Triplebyte's.
this has been done a hundred times since it's the low hanging fruit that every engineer has gone through. The biggest pain at this moment in time as someone who's searching is that I have to hand build a table in notion of:

1. hiring freezes from twitter/blind 2. specific insurance providers from corporate info/ glassdoor 3. salary ranges from levels.fyi/glassdoor 4. specific roles and tech stack from google jobs/glassdoor 5. finding refering relationships through linkdin/blind 6. general company reviews, work life balance, from glassdoor/blind 7. then the actual application through the company website

It's a huge pain in the ass to hand-populate and research. Every platform has a piece of the puzzle but it's not in once place.

I have been in exactly this position. It does end. In the meantime, make sure you're getting fresh air and plenty of sleep. And try not to schedule an interview every day, you need at least one weekday away from it.
Has the market become this tough/bad?
I don’t think so? I got a job as a team lead two months ago with seven years experience. Not sure what OP is doing wrong here. The market was HOT earlier this year, but I don’t think it’s “bad” at this point. We just hired another dev and are hiring another team lead probably next year to spin off a new team.

Maybe OP needs to consider doing mock interviews or something to figure out what it is that’s going wrong? I’m a good interviewee and got the first job I applied for.

Maybe you worked at the same place for a long time and developed bad habits? Maybe you’re bad at selling yourself?

I once interviewed someone who said he was a team lead at a company for six years. He straight up made up answers to some of the technical questions. It was horrifying. I’m not saying that’s OP but he definitely needs an objective voice to step in and figure out what the malfunction is in the interview process. Maybe ask a friend in tech to perform a mock interview? They can feel silly but also can really help.

That is what I was thinking as well.
I was also going to suggest mock interviews, especially after 40 interviews and no offer.
40 interviews indicate the market is hot.
If you are a young recent grad with FAANG experience on your resume, you will be fine.

Otherwise, everyone I know struggles. Interviews are now involving more and more esoteric questions about things that aren't even on my resume, and sometimes questions about tools that can only be answered if you memorized the entire 1000 page handbook of the tool.

I have been asked questions about things that were tangentially mentioned in my undergrad in a lecture 10 years ago, and I never used anything close to it in my job.

Leetcode hazing varies from place to place. If they insist on the most efficient solution, mostly you are fucked unless you live and breathe algos.

The only silver lining is dynamic programming questions have died out, probably because Meta stopped asking them.

May I ask where do you live? I am almost 40 with more than 15y of experience (and a master degree in computer engineering in the top university of my country) and I have to fend off recruiters (I usually do a job interview every other month just to stay sharp - love my current workplace and would not consider changing- and end getting an offer most of the times).
India. I get recruiter calls too, but the interviews have become batshit now. I would need to prepare for a year full time to clear these.
> gives me anxiety and makes me depressed

Nope. It may not entirely seem like it, but our emotional response to things are ours, they're not inherent in the objects of our focus. At least that's what my old and moldy stoic teachers tell me.

> I am exhausted

That's the key. That's real. There's no arguing with that. That you know it is the first step. I agree with another commentator, take some time off. But I'd add that the time off should be smaller and more frequent, something calming and sustainable.

> I've done around 40 interviews > Technical lead with over 10 years experience

Holy smoking duck nuts, that sounds exasperating! You have my sympathy.

Someone once asked a man how he was. He replied, “I’m going through hell!” Said his friend: “Well, keep on going. That is no place to stop!”

Best of luck!

Having similar professional experience I'm thoroughly interrogated by people much junior. They're looking for lies, for fraud, for incompetence, for inconsistencies. Once a week or so I just drop CV compiled for the specific opening. My motivation to answer to their sorting-tree-hashmap-angular-state-management teasing is below zero. I'd been hired and I know how it feels like to be hired, if they are into butt sniffing I disconnect. I'm haven't been working for over one year now and I don't care.
Interviewing is "selling" yourself. Do you have a portfolio of some kind that you are actually showing during the process? Are you asking for feedback from the organization interviewing you? Following up til you get a "no" is also important. If they say anything besides no, you need to keep following up.
If you have done 40 interviews, you are clearly qualified for the roles. I think you need to be more selective about what roles you apply to, and spent more time preparing for the interviews. Answer basic questions like why are you applying to that company? What do you gain from that role? People can smell desperation.

I only started job searching seriously in July and I even took 2 weeks off in August. I was also unemployed. I only interviewed for the roles that I clearly felt was what I wanted. I spent weeks preparing for them and only did 2 final interviews. One I got rejected due to hiring freeze, but I got an offer for the second one in mid September.

So my advice is to really ask yourself why do you want to apply for a role. Don’t machine gun it.

>Answer basic questions like why are you applying to that company? What do you gain from that role? People can smell desperation.

Question for you: When you get this sort of question, do you answer honestly, or "honestly"?

My current company has been in a pretty steep decline in terms of quality. I feel that they undervalue the work that I do, do not pay me appropriately for the work that I do, are skirting around fundamental things (like paying for job-related education/certs/etc.), and are just generally mismanaging the company.

I don't have a problem saying those things - I believe in honesty - however, I realize that me going into an interview as a complete stranger and telling them all of these problems would give that company a very negative perspective of myself. "This guy doesn't even know us, and if this is how he talks about his current employer, he'd probably talk about us the same way too. Pass."

Instead, I try to find related-truths, and avoid the direct issues. "I'm looking to see what else is out there, and find new technical challenges. I feel like I have done a lot of good work and that my current company is in a good position, but I don't want my technical skills to deteriorate, so I'm looking to keep my skills up-to-date by tackling new problems."

It seems to get a generally okay response, but I don't know if that reeks of some kind of "desperation" or not. What is your opinion on something like that be? I'm struggling to be both truthful, sincere, and give an actual answer, not just "corporate-speak" with buzzwords and non-statements.

A litany of gripes about your current employer is generally not a good look in an interview. Positivity is better than negativity. Why do you want to work for the company you're interviewing with? It can be inferred that you likely have some complaints about your current role but you probably don't want to give the impression that you'll take whatever you can get because any port in a storm.
Hmm, that makes sense. I think I'm probably making the mistake of too much of a "shotgun" approach and applying to jobs I'm not particularly passionate about.
Sure. Pretty much most variants of looking for a change. It's fine if there are lots of things that you'd be open to that are different from what you're doing today, but you can tailor that for the company.

I've always had a pretty good idea when I've shifted companies (although in one case it was I want to do the same thing but with a solvent company). However, it's always been with people I knew. I've never had a real interview since grad school decades ago.

I think your strategy of being "honest" is not bad at all if you're looking to not trip any wire and disqualify from an interview. But if you're looking to land a job that truly aligns with your values and are not desperate to switch jobs, have enough time to look, perhaps being honest would take you further.
That's fair. I feel a pretty terrible twinge at the prospect of telling a "selective truth". I see it as a form of lying, but feel nervous at the idea of making myself less desirable than other candidates. It's a very hard ethical issue to deal with.

Honestly, the idea of working with any company in the niche I'm currently qualified in isn't particularly exciting. I've been studying for a few months to move into a different industry (cybersec), so perhaps it would be better for me to back off from actively applying, and instead focus more on what sounds interesting, and come at it from an eye on that subject instead.

It's frustrating because I see a reasonable amount of job opportunities out there for my current field, but I find it very hard to feel excited about applying to a company that does, say, insurance or finance. I feel enough motivation to know that I don't like where I am right now, but I can't quite define how moving into a company who focuses on one of those things would be something that I'm passionate about. I suppose applying to those sorts of jobs would then, essentially be guaranteeing that I move on in a few years.

There's a lot of woo-woo going on in this thread.

You need to find the actual problem. You're making it to the interview, so all these companies feel you're at least minimally qualified for the job. Are you just getting unlucky that all these companies are in a hiring freeze and aren't willing to commit right now? Have you changed up your interviewing, tried anything new? Are you having further post-interview discussions that are turning sour? Money discussions?

I would look at doing a few paid practice interviews online. Their services are designed to provide you honest feedback to help you. There may be something going on that you're not aware of and interviewers don't want to tell you.

>There may be something going on that you're not aware of and interviewers don't want to tell you.

100% Agree.

>There may be something going on that you're not aware of and interviewers don't want to tell you.

This is absolutely key, and when OP says something like:

"I often get praises during interviews, but never an offer."

I kind of feel bad because honestly, many people will give praise to a person just to kind of end the conversation, and I will admit to being guilty of it myself. It avoids the situation where you then have to justify why you didn't like something as if the burden is on me to explain myself, instead of the burden being on them to prove themselves.

Kind of sucks but it is a reality one should be aware of.

I've noticed that for some interviewers, praise during the interview is inversely correlated with the rating they give (I did a lot of pair interviews, which have similar tradeoffs to pair programming).

Good candidates breeze through the main topic, get through some follow ups, and then we let them ask questions. Bad candidates have trouble with the material, so you might have to cut them off early to transition to their questions and some praise makes that feel smoother.

You don't need to appreciate an applicant's point of view to see how your hiring process wastes resources. Why isn't every candidate in front of you a competent software developer? Why are you passing bad candidates on to your co-workers?

Refining your process would save calculable amounts of money and obviate complaints like this.

>Why isn't every candidate in front of you a competent software developer?

If every candidate in front of me were competent enough to fulfill the role, I wouldn't need an interview process period. For some hires there's no need for an interview process, but most do, and the benefit of an interview process is that it's open to anyone.

>Why are you passing bad candidates on to your co-workers?

How does this follow from anything I've said?

>Refining your process would save calculable amounts of money and obviate complaints like this.

How does refining my process have anything to do with not wanting to give advice to every candidate I interview with who fails?

I'm not thinking about your interview process so much as I'm thinking about your role in it. Why is an incompetent developer staring at you, personally? Information is available to both parties about each other at the very beginning, so why are you in a position where you'd be asked for career advice?

You didn't say anything about passing bad candidates forward, that was my mistake and thanks for catching it!

> Not at all, I've made the job market worse for you because you are incompetent, and that's precisely my goal.

Congratulations, in addition to demonstrating your incompetence in interviewing by giving feedback, you also demonstrated you are an asshole.

But keep believing you are where you are because of your hard work and skills.

Attacking others like this is not ok on HN, regardless of how wrong they are or you feel they are. We ban accounts that post like this, so please don't post like this again.

You've broken the site guidelines badly in other threads recently as well: https://news.ycombinator.com/item?id=33282308. I don't want to ban you, so would you please review https://news.ycombinator.com/newsguidelines.html and stick to the rules when posting here? We're trying for a forum that has thoughtful, respectful, curious conversation.

Attacking others like this is not ok on HN, regardless of how wrong they are or you feel they are. We ban accounts that post like this, so please don't post like this again. We've had to warn you about this kind of thing before.

If you wouldn't mind reviewing https://news.ycombinator.com/newsguidelines.html and taking the intended spirit of the site more to heart, we'd be grateful.

>Technical lead with over 10 years experience. I often get praises during interviews, but never an offer.

If you have 10 years tech lead experience I assume you are applying for 200k+ base salary positions. The competition for these staff/lead roles is steeper, especially for remote roles during a recession.

Take a couple interviews for less senior positions and knock them outta the park, get your confidence back. Probably won't require too much prep and will be low stress if the job is in your stack.

Getting an offer feels nice - it's validating, especially in a dry spell.

(comment deleted)
> Probably won't require too much prep

That gave me a chuckle.

I don’t know OP, I’m a tech lead who has done his fair share of interviews and based on your few comments on HN there seem to be some red flags with how you’re viewing the interview process. Saying “one person derails things because I’d outshine them” seems to externalize the blame. I don’t know that I’ve ever worked with any engineer who thinks they’d be worse off by hiring an extremely intelligent engineer. I’d love to be “outshined” as it’d make my life easier to have someone competent writing code with me and teaching me new things. I have a strong suspicion “I’m too smart” isn’t the issue here.

Also, do you honestly think this has been the case at over forty places? That in dozens of separate cases you weren’t the problem, the interviewers were? This seems like an extraordinarily hostile and pessimistic worldview and I’d guess it’d come across in an interview. Eventually you need to do some soul searching into what’s going awry in the interviews. I have a good friend who is a software engineer and is autistic. He speaks about his interviews similarly to what you’ve said. Maybe ask a friend about what they might think is the problem. Be prepared though, because often if you solicit honest feedback from friends you won’t like what they have to say.

Also why are you only applying at places that do leetcode style interviews? There’s plenty of places where that’s not the case, especially if you work outside of tech companies. There’s plenty of great Fortune 500 companies that will expect a 9-5 and are doing good engineering out there. Most of them are hiring remote. Although if you’re expecting FAANG salaries it might be harder to find that type of place.

I wish you the best and hope you get to a better place. Good luck!

this. Worth interviewing with someone you know and see how you do. I interviewed a gent once who was very smart but talked my ear off, including cutting me off multiple times. After 45 mins of this, I stopped him and bluntly gave him this feedback. He was stunned and then thanked me as he realized he had been failing interviews because of this and no one had told him. I didnt hire him, but he was very appreciative and he took the feedback for his next batch.
One of the best engineers that I've ever met is fundamentally unhireable due to the severity of his personality. He's not even a bad guy -- he's very helpful always but unfortunately everything he says just sounds smug or sanctimonious. He can't help himself.

It's been sad watching his career struggles and knowing the quality of his work if you can just keep him away from stakeholders and meetings in general

Would him explaining this to a team before he works on it help. So they don’t take it personally. External stakeholders is different but most of the time devs arw shield from them (for better or worse).
One of the nice things about the old "nerds-only programmer's pit" style of team leadership is that it provides a refuge for people that want part of their world filtered out to get work done. Quite a bit more mandatory social engagement as an engineer these days. Lots of requesting your face.
It was also better for the really quiet ones. There’s some really great programmers who can put out amazing stuff if you can keep them away from the agile/stakeholder circus.
I mean how many of us have a door we can close and no movement in our peripheral vision when we're in the office?
That is a good story of the power of candid feedback. More people should do that and treat developers as a wider community, helping people succeed even if you don’t hire them. He might come back to interview in 3 years too as you will be the company he will remember.
> I didnt hire him

Seems like if he took the feedback well, he could be a good person to hire, unless there were other issues with his interview.

If someone is actually way smarter than me, my concerns would be:

1. Would they get bored or frustrated here?

2. Are their people skills good enough for the role?

3. How long do they plan to be here?

4. What do they expect from us?

But I’m a generalist and find being the dumbest person in the room to be very educational. :)

What is their ethics and motive? This is #1 question regardless of smartness imo
Absolutely. I was thinking of that as part of my #4 but it's important enough to have its own bullet point.
Wouldn't #2 apply equally to someone who isn't way smarter than you?
None of those have anything to do with being smart. Less smart people also get bored or have poor people skills or job hop or have unusual expectations.

Very strange post with a lot of poor assumptions.

There is always office politics and no-one wants a new guy that they perceive as a potential threat.

It's not just someone they might think is 'brighter' but someone that seems experienced and senior enough to have a good shot at taking over or being promoted over them.

An incompetent hire is far more of a potential threat than a competent one.
There's quite a gap between competent and threat, I think...
This. Very few people would welcome someone more competent than themselves, let alone open the door for them.

A lesser coworker who does not rock the boat and pulls some amount of work (specially the rote kind of it) is seen as the best option.

Then the solution is to find higher performing teams with higher expectations. If one still bombs interviews after that, then it's likely the hypothesis is incorrect.
I agree - OP is the common denominator with this level of volume. I also believe OP is applying to the wrong jobs, perhaps out of frustrations. Candidates who are very clearly going for the wrong roles - like a junior position when they have decades of experience, are going to stand out like a sore thumb.

Ultimately hoping for the best for OP, but sounds like they need to take a break and re-evaluate their perspective and approach.

I've definitely had interviews where it became obvious the interviewer was competing.

In addition, people love to judge, interviewing is like porn for these people.

Where do you think you are falling down in the interviews? Is it technical Qs? Behavioral? You might try post interview analysis with a friend or professional.
If you're a former tech lead with 10 years of experience, and struggling to get a job then you're doing something wrong.

Have a friend / former colleague who knows you and the industry. Get them to look at your CV and do a mock interview. Then listen to their advice.

You are probably making a basic mistake like badmouthing former employers / being bad at leetcode / not having good reasons for gaps / unreasonable requirements ...

Increasing resilliance will just make you keep failing. You need to fix the problem that has caused you to fail 40 interviews despite 10 years of experience.

It's very common to fail interviews these days, you make it sound rare. Employers are looking for any possible reason to say no, and many have unreasonable expectations. Often choosing based on who memorized the most random facts (from an unbounded set) asked today.

Your third paragraph is good probably on target however.

40 failed interviews in a row, with 10 years of experience is rare. If he had failed 5 interviews then I would just tell him to keep going. After 40 failures in tech he needs to stop and work out what he's doing wrong.
Been there. Other things you can’t change, or are very hard. Getting old, or choosing the wrong degree.
I don't think they've interviewed at 40 different companies. For someone with 10+ years experience, most companies do at least 5-8 rounds these days. So I'd expect the number of companies they've interviewed at - and unfortunately been rejected at - to be in the single digits. That's not unusual at all.
Sounds like you could benefit from a coach to help you to find out why you're being rejected. It's likely something you're not aware of and if 40 different interviewers can spot it in an hour then I'm sure a coach could too.
Assuming you are making it to final rounds, 40 interviews, at an average of 6-8 per company, means you have been rejected by 5-7 companies. If you are aiming for only FAANG-equivalents then competition for the open positions is obviously intense, and your experience isn't too out of the ordinary. I'd wager the best programmer on the planet will have a <50% success rate at leetcode-style interviews. Remember that you are aiming for $300K-500K/yr salary at age 32. That puts you in the top 0.01% of the global population. It isn't meant to be easy.

You have two paths forward. Either double down, do more coding prep, more mock interviews, keep applying, and eventually you will get that offer. Or aim for one tier lower and find a smaller company or startup that is a good fit for your skill set.

  at an average of 6-8 per company
Based on what?
1 recruiter call

1-2 phone screens

Maybe a take home test

4-5 onsite interviews

1 call with hiring manager

This is the standard process in big tech recruiting.

It's exhausting just reading this, let alone doing it with multiple companies.

How did it get so crazy, or is this only for the most elite companies, and positions? I can't imagine going to all this trouble for a java programming position at a regional insurance company or something similar.

This is the process for almost every company, not just FAANGS.
Cool shit you folks have to go thru there.

In last year in eu Ive been in talks with 3 companies and all of them needed just 1 or 2 15min phone calls and one 1.5h talk over Teams.

So, if you want to do 3 or more tech rounds you better be fucking Microsoft or Apple

3?

Even no name companies are doing at least 4, sometimes 7-8 rounds.

I am sick of it, but what can you do when they all do the same thing.

If you are just interviewing for sport, not actually for job, then you can tell them that you are rejecting them due to rounds count
And is this the process for other roles; marketing, sales, finance, etc, or is this a tech self-inflicted curse?
I don't know about others. I know a few doctors, like a friend who is an emergency physician.

He was hired after 1 hour long interview, and he could start next monday.

> I'd wager the best programmer on the planet will have a <50% success rate at leetcode-style interviews

This made me wonder, is it true? I've often stumbled on LC tests, in ways that I (funnily enough) wouldn't have failed myself for. Off-by-ones, went down the wrong path initially but found the right one and ran out of time, that kind of thing. I suppose it depends on where you set the bar.

What are people's experiences? The worst cases for me is when it's an ambush. Talking about architecture or experience and then suddenly the guy wants a DP solution in python.

Somehow when it's just been a test with no person there, I've actually done fine on it. Having the person there in the interview throws me off. They take me down the wrong path, or they get impatient. I did 4 online questions in an hour once, then I thought I was through to a human being, and instead the guy didn't want to put any effort into interviewing me at all, started doing other work, no feedback or anything on a question I hadn't seen.

I've heard that some people just go nuts with the Leetcode. Hundreds of questions done. I've never thought it was a great use of time since there's always more questions you haven't seen, but I wonder how good the return on effort is there.

There's a lot of positions in the 200-300k range that aren't as petulant in hiring and probably better places to work anyway?
Yeah, I guess my main gripe is that if absolutely every job did it, I would just hunker down and study LC for a month and then apply. With my recent interviews it's been a mixed bag, enough that it doesn't feel worth it.
Which part of the world are you located?

When you say 40 interviews, do you mean 40 separate companies?

You probably need to get your interview behavior evaluated by a friend or someone else. Either your technical chops are not good, or you're giving off the wrong vibe. Maybe get rid of Technical Lead off your resume and shoot for a lower-level position, and see how you do.

These days you need to go through 40 interviews to get past the filtering stage
At this point in your career if you are good at the people side of things you should have former cow-orkers who want you leading a team.
One thing I found helped during my 9-month job search was to have a project I was working on at the same time. A huge factor why job searching is exhausting is that one doesn't see any progress. Having a 'resume filler' helped me feel like I was still moving in a positive direction.
This honestly sounds like a great idea. Even if not a side project, maybe learning a new language might help not only as a resume-filler but also to expand the pool of jobs you can apply for.
Job market is weird and gets weirder and more hostile as you grow more senior and older.

Yet, it is a numbers game. Just keep at it and maybe change your focus a bit. E.g. if you target startups leave them aside and focus on banks or health sector. Pivot around.

Similar situation here with over 30 years experience. Early on there were some obvious flaws in my resume, cover letters, and interviewing. Some of that can be fixed and some of that is just me being anxious and autistic which isn't going to completely go away though to some extent that can be controlled. In general there is a problem that I mostly interview with people who have around 5-15 years of experience and to them my resume and skill set don't fit in the usual boxes.

Many replies in this thread are suggesting that there is one thing going wrong but in my case a potentially interesting conclusion is that there are lots of different failure modes coming up. Mostly things come apart in coding evaluations where I get nervous and make mistakes and in general go too slow. Other points of contention that have come up is a lack of experience with specific tools and libraries involved in the work. Experience and methodology with testing and ideas about management is also a big deal. Several interviews have gone off the rails when my take on Agile didn't completely mesh with what companies are doing. So it is good to always look for what in yourself you can improve but also be aware that no one is completely perfect and in many cases even one minor issue can prevent an offer from being made.

In any good place to work, specific tool experience shouldn't matter unless the company is in a very specialized niche. This is especially true considering you come in with 30 years experience.

To be honest, it sounds to me like the headwinds you're really encountering are ageism and your interviewers are trying to throw you off that scent for liability reasons.

Over and above outright ageism, 30 years of experience also comes with commensurate expectations and, even if not necessarily a specific tool, organizations probably won't hire someone that senior if their experience is only tangentially related to that needed for a role. Someone who is junior you might go "They're bright, they'll pick it up." Hiring a senior person is often about hiring in skills you don't have internally and need.
If you need a job, any job, try consulting companies. Often they just need warm bodies and if you are minimally competent and aren't a jerk in the interview you will be ok.

Definitely get some mocks if you can. There may be something that is easy to fix that you are unaware of.

For better jobs, it is not easy right now. On my most recent job search I had 1.5 offers from big tech (congrats you passed but no more hiring this year!), and 30-40 rejections, from the other big tech, to large enterprise, to small startups. If you are only going for the big jobs, might be time to just chill for a while until things start to thaw.