Strings DSA 🔥 3 Must-Solve LeetCode Problems in Java | Day 9/30
siddhubhaiya
0:00 / 0:00
Strings DSA 🔥 3 Must-Solve LeetCode Problems in Java | Day 9/30
0 просмотров · 7 ч назад
siddhubhaiya
51 подписчик
0 просмотров · 7 ч назад
Day 9 of Android30 × Pattern30!
Today we're solving 3 important String problems in Java with clear logic, dry runs, optimized approaches and time & space complexity.
*Problems covered:*
1. Group Anagrams — LeetCode 49
2. Longest Palindromic Substring — LeetCode 5
3. Longest Happy Prefix — LeetCode 1392
*Concepts covered:*
HashMap and frequency counting
Expand Around Center
KMP Algorithm
LPS (Longest Prefix Suffix) Array
Note: String to Integer (atoi) is not covered in this video.
Which of these three problems did you find the trickiest? Comment below!
#Java #DSA #LeetCode #StringAlgorithms #CodingInterview #Android30 #Pattern30