https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/ 2-9 까지의 다이얼을 누른다고 할 때, 매칭 가든한 모든 문자열을 찾아라. BackTracking의 고전과도 같은 문제. depth가 더해 지면서 진행 하는 index 는 찾고자 하는 input digit이다. 이 데이터를 가지고 가질 수 있는 문자를 문자열의 길이가 digits만큼 되면 반환 buff에 넣는다. 코드 더보기void letterCombinationsBT(const string& digits, map>& buff, vector& vOut, string& cur){ if (cur.size() >= digits.size()) { ..