Elite Coders have it good, I'm envious...

Joined
Apr 3, 2014
Messages
71,910
Reputation
17,458
Daps
306,521
Do you grind Leetcode? I'm a self taught full stack web developer. These Leetcode questions seem out of my depth, as i never did Computer Science.

example: Loading...



The way they ask the question is confusing as fukk to me. I'm a visual learner :mjcry: I feel retarded reading this question and i am proficient in:

HTML/CSS
Javascript/JQuery/Typescript
NodeJS
Django
Python
PHP
Nuxt/Vue
Flask
SQL
ExpressJS
Linux CLI
AWS and many more..




Are you a brotha? Asking for a reason.
 

69 others

Superstar
Joined
May 2, 2012
Messages
6,564
Reputation
786
Daps
24,380
Reppin
NULL
I want his life :mjcry:



except the coding you can live this life in any field :pachaha: what did he do that was special? he basically rode a bike to work and back

I wouldn't be discouraged by the video in the OP. It's a video of someone participating in a timed coding competition. The style of coding they do in those competitions is wildly different than the day to day coding a software engineer is doing.

this. i hate the way how software engineering became synonymous with this type of coding. People act like it's some mystical thing which i think discourages and intimidates a lot of people from entering the field, just look in this thread:pachaha:.

Software engineering is not different from construction. at a good firm or team, there is a lot of planning, design and architecture that needs to done before the first line of code is written. And when that processes starts the goal is to write code that's readable, extendable, testable, and designed properly rather than banging out lines of shyt code in the least amount of time.

IMHO a "coder" is a red flag in an interview. I'll give juniors a pass cause coding is the main skill they'll have but experienced people that come off like just a coder will always be a no for me.
 

IIVI

Superstar
Joined
Mar 11, 2022
Messages
15,744
Reputation
4,106
Daps
57,461
Reppin
Los Angeles
Do you grind Leetcode? I'm a self taught full stack web developer. These Leetcode questions seem out of my depth, as i never did Computer Science.

example: Loading...



The way they ask the question is confusing as fukk to me. I'm a visual learner :mjcry: I feel retarded reading this question and i am proficient in:

HTML/CSS
Javascript/JQuery/Typescript
NodeJS
Django
Python
PHP
Nuxt/Vue
Flask
SQL
ExpressJS
Linux CLI
AWS and many more..
Start with knowing the basic data structures: array, linked lists, trees, tries, etc. and the space/time complexities for each of them.

Neetcode has a good course on it. Learn them as you go. Another decent paid one is Algoexpert. As far as free this guy and playlist is pretty much very thorough:


That playlist is probably the gold standard imo. May have to rewind a few times and he goes fast (and you got to fight an accent every now and then), but if you get that material you can pretty much go into most heavy data structures books and know you've seen it before.

After that familiarize yourself with the patterns that these questions take:

In place reversal of a linked list (like part of what your problem you stated is) is one of those patterns.

The thing is, there are "tricks" to these problems. If you don't know the trick, most likely you ain't solving them unless you're pretty much rare-tier or extremely fortunate to have stumbled on the solution:


I had a really good understanding of data structures and time complexities after I took some courses when I was in college, but still would get my ass handed to me with Leetcode. It wasn't until I learned that there were patterns and general groupings to these questions that I was able to solve these things much easier. For example, all the theory and data structure books I've worked through, I didn't know there was such a thing as a Sliding Window pattern, yet it's a common strategy to solving a certain class of problems and show up in Leetcode often.

From there you can double check your solutions on places like the discussion forums, Neetcode's site/youtube videos, etc. If you don't understand the data structures and algorithm, don't get bogged down where you feel like you have to learn them all upfront before you tackle problems and simply learn them as you go instead (like from some of the links I mentioned).

My rule: try a problem for 30 minutes, if I can't solve it within that time I'll look at the solution and learn what it's doing. No sense spending more time on it because it's not something for work, it's an algorithm question that thousands, maybe millions of people are going to look up the solution for anyways. No sense struggling though a question for a days to weeks and falling behind something they may not even ask in an interview when you can get experience doing another 30 problems within that time. Even problems where I don't understand the solution to 100%, I'll skip so it won't hold me up from solving and learning from all the other ones.

After you learn the solution, go back to it and see if you can solve it again after a few days. Then change something up about the problem and see if you can solve that version of it.
 
Last edited:

IIVI

Superstar
Joined
Mar 11, 2022
Messages
15,744
Reputation
4,106
Daps
57,461
Reppin
Los Angeles
yea it's a wrap.



Interviewer accent is strong as hell.

I wouldn't even show up to the interview. :mjcry:

Dude I used to work with interviewed at Facebook awhile back and ran into an Asian lady with a thick accent asking him questions.

It got to the point where the cat was going to ask "Do you speak Korean by any chance because this'd be a little easier to get through." (Dude was Korean) :mjlol:

Said it took about 20-30 minutes to figure out what she was asking him to do and once he did he answered the question in about 5 minutes (it was like an easier Leetcode medium)

Top 3 brightest I've ever worked with (now works at Google), real chill and a hilarious cat but still remember that story because dude's storytelling :wow:

Basically though, I look situations like that like as exposing a weakness I have and something I got to come up with a plan or framework for dealing with it if it happens or to prevent it from happening in the first place.
 
Last edited:

Koli_Kat

Superstar
Supporter
Joined
Jul 3, 2018
Messages
5,396
Reputation
599
Daps
22,803
Is there part time work in the field? Can you do it as a side gig?
 

L&HH

Veteran
Joined
May 18, 2012
Messages
53,807
Reputation
5,940
Daps
163,034
Reppin
PG x MD
Regret dropping my cs double major in college rn so bad. My professor told me I would regret this day :ufdup: I looked at him like :childplease: yeah right this EE degree will get me by I’m not tryna code for shyt, now look at me years later trying to join a boot camp and teach myself:to::mjcry:. I know this nikka laughing at me
Not really. You saved yourself a lot of headache. Just learn Python (which you would probably have to learn anyways) and with your EE degree your just fine
 

Cereal_Bowl_Assassin

Superstar
Supporter
Joined
Jul 3, 2018
Messages
10,398
Reputation
4,259
Daps
56,735
its not as glamorous as it looks

talk about headaches and dealing with 1 bullshyt line of code that can wreck your whole shyt

logical errors, small syntax errors that aren't even referenced properly in the console, functions that don't work because of weird bugs

This and what others have said...im inside on a Saturday practicing on some code...my only entertainment is the coli lol
 

HabitualChiller

Enjoying a Long Night of Solace✌
Supporter
Joined
Oct 27, 2016
Messages
17,309
Reputation
4,180
Daps
54,203
Reppin
Somewhere on an Xbox
This kat I work with said that his cousin essentially runs the code for Nike's app. Said he's clearing 350K and going to work in sweatpants and shyt. On top of that, he gets a bonus and Nike stock.

If I wasn't committed on going into logistics/supply chain management (since I already have 5+ years of experience), I'd be all in.

Of course, he got the job largely because of who he knew, but that's a separate thread.
 
Top