Longest Palindrome - Leetcode 409 - Java

preview_player
Показать описание
Explanation of Majority Element from LeetCode in Java. This series will cover all Grind 75 questions and others from top Microsoft and Google questions. Like and subscribe to this channel if you would like to join me on this journey.
Рекомендации по теме
Комментарии
Автор

Thank you for this tutorial. I just wanted to ask - why did you add the check for if( result < s.length() ) ?

Sweetpotatocakes