650
-
[LeetCode] 650. 2 Keys KeyboardLeetCode 2021. 10. 28. 00:27
https://leetcode.com/problems/2-keys-keyboard/ 2 Keys Keyboard - 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 2 Keys Keyboard - Medium 화면에 A가 있고, 2가지 기능만 있는 키보드가 있다. 기능은 전체 복사와 붙여넣기 2가지이다. 이 때, A를 n개 출력한다고 할때, 키보드를 최소한 몇번눌러야 하는지 구하는 문제이다. 랜덤으로 돌린 문제인데, 신기하게 바로 직전에 풀었던 343. Integ..