←back to thread

27 points collinboler2 | 1 comments | | HN request time: 0.217s | source
Show context
embedding-shape ◴[] No.46184676[source]
Do people use LeetCode all year round? I thought it was something people fresh out of school did because they thought it helped them be better at FANG interviews, but seems I've missed how they seemingly grew in scope.

> I was hesitant to implement this because I obviously people wouldn't trust inputting a cookie into a form, but if this repo gets lots of stars I'll make a chrome extension that gets around this.

Fun how it goes the opposite compared to the real security implications. Sending one exact cookie you can see to one site VS giving an unknown entity access to * permissions on your computer, and the entity can change at any time + update in the background by their own wishes.

replies(2): >>46184924 #>>46198997 #
collinboler2 ◴[] No.46184924[source]
Yup, it’s essentially a daily habit for many devs these days, I think they've added more gamification (streaks, badges, contests) combined with a UI update that makes it feel less like "prep." (example: https://leetcode.com/quest/)

> Fun how it goes the opposite compared to the real security implications.

You're spot on, it is pretty interesting. I suggested the extension purely to bridge that trust gap, especially if it's verified by the Chrome Web Store. If the extension is designed to strictly avoid calling any external APIs (other than leetcode graphql), it makes exfiltration impossible, ensuring the cookie never leaves the user's browser

replies(1): >>46184979 #
embedding-shape ◴[] No.46184979[source]
> Yup, it’s essentially a daily habit for many devs these days

Beyond students/juniors? I don't think I've ever seen any of my colleagues or friends either talk about it or using it recreationally, but maybe I live in a different bubble.

replies(2): >>46185029 #>>46185050 #
twosdai ◴[] No.46185050[source]
I think for some people, they treat it like the daily crossword. For seniors, I've known a few that would do problems in a different language so they can get some basic exposure to it. Eg. If you program node js all day, you'd do the daily problem in kotlin or rust.
replies(2): >>46185172 #>>46185307 #
1. naet ◴[] No.46185172[source]
I do both crosswords and frequently look at the daily leetcode problem. I don't always do it if the problem doesn't interest me. But sometimes I learn something new, other times I just hammer out a solution in 2-5 min for a little brain stimulation.

Making a habit of doing small puzzles like that can compound a lot over time. I am self taught and did not study algorithms in school, but I would consider myself stronger on the topic than most of my coworkers just from my learning to solve puzzles (and enjoying it). I am currently the senior / lead dev of my team.

I also love Advent of Code and look forwards to it all year.

I do both in languages that aren't what I primarily use at work.