동적 프로그래밍 - 예제
1번째 문제 https://leetcode.com/problems/unique-morse-code-words/ 알파벳에 해당되는 모스 부호가 있고, 특정 단어가 인풋으로 들어오면 해당 단어를 모스부호로 변경을 한 후 , 중복되지 않은 문자가 몇개인지 return 시키는 문제다. public int uniqueMorseRepresentations(String[] words) { List morse = List.of(".-","-...","-.-.","-..",".","..-.","--.","....","..",".---","-.-",".-..","--","-.","---",".--.","--.-",".-.","...","-","..-","...-",".--","-..-","-.--","--.."); Lis..