❤️ Project Euler
In 2012 I was a corporate lawyer at a big fancy firm. If you’d seen teenage me or college me you’d be understandably confused. Grae somehow ended up a lawyer? A corporate lawyer at a fancy firm? What? And if you know me today you might be similarly confused.
My life as a corporate lawyer was short in part because of Project Euler.
That winter Kelly, a law school classmate, shared an article with a group of us about this crazy new company called Dev Bootcamp. It trained people to be programmers. And actually got them jobs! Good ones!
By then we were starting our second year of practice. It wasn’t a great time. Graduating into the great recession meant a lot of us couldn’t land a firm job. And those who did get hired were dealing with the tough reality of law firm life. A bunch of us had the same thought when we learned about coding bootcamps: “Holy shit, I wish this was a thing four years ago when I made the naive decision to go to law school.”
Most of the people who would have done a bootcamp instead of law school couldn’t stomach eating the sunk cost to change careers. I was lucky: Stassia saw how unsatisfied I was. She said “If you aren’t happy you should quit; we’ll figure it out.” She’s done a lot of amazing things for me over the years, but giving me permission & encouragement to abandon a lucrative career is near the top of the list. She was still several years of training away from starting her own and mine was the only income. It was risky, but with her support I left biglaw.
Tuition at DBC was I think like $12k. That’s a tiny fraction of the cost of my JD. Still, with my student debt and monthly loan payments we didn’t have the reserves or cashflow for that. So what could I do?
Casting about the web for low cost options I ran into Hacker School (now Recurse Center). Seemed like a cool opportunity. Price was right. But I wasn’t qualified yet. I knew I didn’t have anywhere near enough programming experience to apply, but how much was enough? I checked their FAQ and that’s where I found it:
How much programming experience do I need for Hacker School?
If you… solve Project Euler problems for fun… you’re almost certainly a good fit for Hacker School.
Huh. Project Euler. What’s that? Click
I got hooked right away. Hooked bad. Being newly unemployed I spent my spring at The Wormhole drinking coffee and teaching myself Python by solving Project Euler problems. They scratched an itch I forgot I had. They were frustrating and impossible and clever and solving one felt amazing. That silly green checkmark became the best part of my day.
By the time I interviewed at Thinkful I’d solved about 80 problems, averaging a solution every day or two, though some took much longer.
Project Euler had a big impact on my work and my life. It made me excited to write code. It gave me the motivation to keep beating my head against the wall while I was learning. It lent me credibility during my interviews and helped me join Thinkful, where I successfully pivoted into tech and got paid to help others do the same. It drilled me, without me realizing, in data structures and algorithmic complexity before I knew what those were. And it reminded me how much I love math.
So I want to talk about it here. I’ve held off on sharing my solutions or analysis because, well, Project Euler asked me not to. But now they let people talk about the first hundred problems. So let’s dive in and see how many of those we can cover.