leetcode #Repeated String Match
LeetCode 686번- Repeated String Match
leetcode.com/problems/repeated-string-match/ Repeated String Match - 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: int repeatedStringMatch(string A, string B) { //1)a를 계속해서 반복 시킨다 b를 찾을때까지. int count = 1; string plus = A; int flag = 0; while(A.size()