알고리즘 문제풀이/[C++] Leetcode
Leetcode 문제 1704번 Determine if String Halves Are Alike
문제 출처:https://leetcode.com/problems/determine-if-string-halves-are-alike/ Determine if String Halves Are Alike - 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 코드는 다음과 같습니다: class Solution { public: bool halvesAreAlike(string s) { size_t len = s.length() ; int cnt_l = 0, cnt_r = 0..