In this video, I walk through the "First Letter to Appear Twice" LeetCode problem using Java.
Problem link: https://leetcode.com/problems/first-letter-to-appear-twice/description/
Timestamps:
00:00 - Intro
00:05 - Problem Explanation
00:36 - Brute Force Solution
02:32 - Brute Force Big O
03:45 - Optimized Solution
05:12 - Optimized Big O
05:55 - Outro
Please like and subscribe if you found this helpful! Let me know in the comments what problem I should do next :)
#leetcode #firstlettertoappeartwice #javaprogramming #codinginterview #datastructures #set #hashset #twopointers #bigO