Leetcode 100문제 도전
[Leetcode 24/100] Palindromic Substrings - Medium
Llife
2021. 1. 21. 23:14
leetcode.com/problems/palindromic-substrings/
Palindromic Substrings - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
leetcode.com
문제 풀이 방식
브루트 포스 - 모든 생성될 수 있는 문자열에 대한 펠린드롬을 검사
주의할 점
toCharArray() 매서드를 기억하자.
소스코드