How To Get Better At Leetcode

For anyone who is self learning code, and trying to get better at white boarding questions I have been keeping some notes on how I continue to learn and improve.

My first mistake was jumping right into Leetcode. The thing is, you need to be familiar with the fundamentals: Data Structures and Algorithms. I grinded Leetcode for a little bit until I eventually started banging my head against a wall. It was not fun. Don’t make the same mistake I made.

Take some time to learn the basics like arrays, linked lists, doubly linked lists, graphs, hashes, heaps, trees etc.. There are a bunch out there but as I am learning, I’m finding that you don’t need all of the niche ones that are more abstract. You just need to know the basics and its similar versions.

I have been doing some research and I came across this article that goes over a lot of these basics. It’s a really great guide because he goes over the most common ones and not the abstract/niche ones. This is great for someone who wants to learn the fundamentals without having to go to a college to learn them. I will continue to update this blog if and when I find some more methods that go over Leetcode and Data Structures/Algorithms.

In conclusion, make sure to not only understand most of these DS/A’s but try actually coding them and messing around with them. It definitely helps prepare you for websites like leetcode and hackerrank.

--

--

--

An aspiring software developer, hacking enthusiast, and competitive gamer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Why all developers should be friends with a cardboard developer

CS371p Spring 2021: Sejal Sharma

Static and Dynamic Libraries in C

Serverless Rest API on AWS with Lambda and API Gateway using SAM (Serverless Application Model)

Deploying webserver on aws ec2 instance with s3 and cloudfront using Terrafrom (infrastructure as…

Hopscotch Top Creators: meet William04GamerA

The Digital Garden

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aiden Oliver

Aiden Oliver

An aspiring software developer, hacking enthusiast, and competitive gamer.

More from Medium

“Mocking” my way into FAANG

leetcode 560. Subarray Sum Equals k

Double-Blind Coding Interviews

Person typing code on a laptop while on a video call with another person

Knight Probability in Chessboard Solution | LeetCode-688: Medium | JavaScript Implementation