Рет қаралды 83,386
Full tutorial for solving the LeetCode longest substring without repeating characters problem in Java!
Thanks to Mailgun for sponsoring this video! Go to mailgun.com/john to try Mailgun today.
00:00 The Problem
03:51 Brute Force Solution Discussion
07:27 Brute Force Solution Implementation
15:57 Brute Force Solution Results
16:35 Coming Up With a Better Solution
20:09 Fast Solution Discussion
26:50 Fast Solution Implementation
32:34 Fast Solution Results
33:21 Even... FASTER?
☕Complete Java course:
codingwithjohn.thinkific.com/...
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 a fast solution for the LeetCode longest substring without repeating characters problem, LeetCode Problem #3, written in Java!
📕 THE best book to learn Java, Effective Java by Joshua Bloch
amzn.to/36AfdUu
📕 One of my favorite programming books, Clean Code by Robert Martin
amzn.to/3GTPVhf
🎧 Or get the audio version of Clean Code for FREE here with an Audible free trial
www.audibletrial.com/johnclean...
🖥️Standing desk brand I use for recording (get a code for $30 off through this link!)
bit.ly/3QPNGko
📹Camera I use for recording:
amzn.to/3wlXcmR
🎙️Microphone I use (classy, I know):
amzn.to/3AYGdbz
Donate with PayPal (Thank you so much!)
www.paypal.com/donate/?hosted...
☕Complete Java course:
codingwithjohn.thinkific.com/...
codingwithjohn.com