LeetCode Exercise in Java Tutorial - Two Sum FAST Solution

Published: 08 August 2022
on channel: Coding with John
237,815
7.1k

Full tutorial for a FAST solution for the LeetCode Two Sum exercise in Java!
Complete Java course: https://codingwithjohn.thinkific.com/...

00:00 The Problem
03:09 Brute Force Solution
08:12 Brute Force Results
10:17 Throwing a HashMap at it
20:01 HashMap Results

Are you starting to grind LeetCode in Java, but getting stuck on the how to figure out some of the trickier fast solutions?

In this video we'll walk through the fastest solution for the LeetCode Two Sum problem, the very first problem in LeetCode , written in Java!


Learn or improve your Java by watching it being coded live!

Hi, I'm John! I'm a Lead Java Software Engineer and I've been in the programming industry for more than a decade. I love sharing what I've learned over the years in a way that's understandable for all levels of Java learners.

Let me know what else you'd like to see!

Links to any stuff in this description are affiliate links, so if you buy a product through those links I may earn a small commission.

📕 THE best book to learn Java, Effective Java by Joshua Bloch
https://amzn.to/36AfdUu

📕 One of my favorite programming books, Clean Code by Robert Martin
https://amzn.to/3GTPVhf

🎧 Or get the audio version of Clean Code for FREE here with an Audible free trial
http://www.audibletrial.com/johnclean...



🖥️Standing desk brand I use for recording (get a code for $30 off through this link!)
https://bit.ly/3QPNGko

📹Phone I use for recording:
https://amzn.to/3HepYJu

🎙️Microphone I use (classy, I know):
https://amzn.to/3AYGdbz

Donate with PayPal (Thank you so much!)
https://www.paypal.com/donate/?hosted...


☕Complete Java course:
https://codingwithjohn.thinkific.com/...

https://codingwithjohn.com


On this page of the site you can watch the video online LeetCode Exercise in Java Tutorial - Two Sum FAST Solution with a duration of hours minute second in good quality, which was uploaded by the user Coding with John 08 August 2022, share the link with friends and acquaintances, this video has already been watched 237,815 times on youtube and it was liked by 7.1 thousand viewers. Enjoy your viewing!