You Don't Need to be Leetcode King ??
Image Credit: Unknown | Found on sproutsocial.com/insights/tiktok-hashtags | I do not own any part of this image

You Don't Need to be Leetcode King ??

If there's one thing that grinds my gears, it's hearing all the talk that solving algorithms is IMPERATIVE to succeed both in the interview round and in the tech industry.

Well, yes.

And, no.

Let me explain something to you guys: Speed does not equal intelligence.

Think about it: when was the last time your boss gave you a timed code puzzle to solve, just for funsies? Did your code solution even make it into the company repo? (Maybe if you work at Meta or TikTok, or some other social platform).

In the vast majority of cases, the answer is a resounding HECK no.

Now, hang on a minute, bootcamp grads. I am definitely not saying neglect learning about algorithms entirely. Don't just ignore them completely. Having some knowledge of them is important, and at the same time, not as important as you think.

Here's what I've discovered in the last 365 days, and it's a big kicker:

You'll need algorithm knowledge more to get in the door than to actually use day-to-day, behind the desk.

Now, I've never manned a technical interview, but I have been interviewed a few times and my first impression of being quizzed on algorithms was a measure on my intelligence. Whether I was right or not, I have to admit, as a total newbie in the tech world, it was more than a little intimidating.

There was a lotttt of "see how quickly you can solve this". Or, "You have twenty minutes to solve x, y, and z."

Verrry rarely did I ever hear the words "take your time".

Consequently, I got wrapped up the first few months in speed over quality and thought process. Problem solving is the core of every algorithm puzzle, and it took me ages to get that into my head.

So while I don't sit well with the type of tech companies who use algorithm-solving ability as the grading rubric to judge whether or not a candidate is capable or good for the job, I do want to tell all the job seekers reading this that not all companies operate on that elite level, and developing a general knowledge of how they work regardless is going to get you far, even when you don't even feel like it will.

Simple trick: start at start.

I went to Google before a technical round and I would type "Common algorithms for beginners" in the search bar. Go do it. See what comes up. Then work through at your own pace and get along as far as you can on each one. I worked through my code editor as well and utilized Chrome's Dev Console to test my solutions.

Extra tip: please don't pull all nighters trying to do them all in one fell swoop. You're not gonna remember how you solved any of them a week from now (tried that, believe me).

Also...wanna know a secret?

Unless you're trying to work at Meta or Apple or a company along those lines, I can tell you from experience that difficulty level of an algorithm says nothing about how smart you are. If you can solve super tricky ones, that's great! But I started at the bottom, worked through pretty much nothing but beginner level algos, and I still got a job.

So, to warp: if you love Leetcode and AlgoExpert AND working through all of those are really working well for you, keep doing it.

If you can't get past Level 1, that's okay. Because wanna hear another secret?

I never made it past Level 1 on AlgoExpert. What worked for me: I kept reviewing the ones that I did solve, and used Google to build on that knowledge. And it got me to where I am now.

So stop telling yourself you don't have what it takes because you're not Level 10.

You can do this.

Karen Fisher

Software, data science, and machine learning

1 年

I saw an absurd complication of a fairly straight forward (and not difficult) algo problem in an online assessment recently. The basic problem was, given an array of unique integers, take the target value as the first item, and then find all the pairs of values in the subsequent items that sum to the target. Not hard at all. (Hint: use a hash table. O(n) time.) But then they had a convoluted method to mangle the output, *including at least one step not in the instructions*, meaning none of the test cases would pass and you'd have to try to infer the missing step(s) from comparing the expected output with yours (if the cases are not locked, of course). By the time I got through figuring that out and began to implement the complete mangling, the assessment timed out on me. How ridiculous -- taking a problem one is not likely to encounter in a job (ok, a variation of it may come up as an optimization problem), as it is, and then take it into such an absurd level (some NSFW metaphors come to mind) that one would *never* see in the real world. And be expected to solve it in ideally under 10 minutes. Meaning if otherwise, no matter what you offer, whatever your experience or level of skill, you are basically to them roadkill.

回复
Nicholas Cruz

DevOps/Support Engineer ? JavaScript/TypeScript, Python, React, Node.js, MySQL, SQL Server, Microsoft Azure ? Automating and solving problems and tasks for everyone, everywhere

1 年

I plan to start doing them a little more frequently this year. Like you said, nothing else to it other than to start.

Rashad J Nelson

Data Engineer | SQL, Python, Microsoft Azure, Databricks | I Bridge Data to Real World Business Solutions | Marine Corps Veteran

2 年

Great article Marie. I mainly use CodingBat for Java and Python practice. I recently started exploring Leet Code for SQL. We'll see how it goes.

要查看或添加评论,请登录

Marie Valdovinos的更多文章

  • The Barbieheimer Phenomenon

    The Barbieheimer Phenomenon

    Last Sunday night we finally went and saw Oppenheimer. I have to admit, I was more than a little disappointed.

  • Talking With Robots??

    Talking With Robots??

    So I was sitting at my computer on this fine Tuesday night, and I was thinking to myself, "Hmm, it's been a while since…

    11 条评论
  • Women Who Run

    Women Who Run

    A wise coding bootcamp instructor once said: "I want everyone in this room to think like men." That was my coding…

    6 条评论
  • A Trip Down Memory Lane...Or There and Back Again

    A Trip Down Memory Lane...Or There and Back Again

    On January 24, 2022, I published my very first LinkedIn article. I remember the night very well when I wrote it.

    2 条评论
  • Three Myths about Coding Bootcamp, Debunked ??

    Three Myths about Coding Bootcamp, Debunked ??

    You see, I am a coding bootcamp graduate. The first thing I am gonna say: bootcamp is hard, and just know that if you…

    2 条评论
  • Debunked: Seven Myths about Networking You Need to Stop Believing ??????????????????

    Debunked: Seven Myths about Networking You Need to Stop Believing ??????????????????

    "If only I could be like **insert LinkedIn celebrity here** and have 100 million followers. But that's only for special…

    7 条评论
  • I'm Really Scared Right Now....

    I'm Really Scared Right Now....

    So I'm going to tell each one of you guys a secret. Don't tell anybody.

    5 条评论
  • Five Things I Wish I Knew Before My First Technical Interview

    Five Things I Wish I Knew Before My First Technical Interview

    The following all seem like they should be obvious but they definitely were not for me. Let's cut to the chase: 1) It's…

    8 条评论
  • Start Wars: Behind the Logic of In-Office Mandates ??

    Start Wars: Behind the Logic of In-Office Mandates ??

    Amazon, amongst multiple other commerce and tech giants, are getting sued for failing to compensate employees for…

    2 条评论
  • You're NOT an Aspiring Web Developer: Here's Why ??

    You're NOT an Aspiring Web Developer: Here's Why ??

    You need to stop saying that. Did I get your attention? Now I have it.

    10 条评论

社区洞察

其他会员也浏览了