diff --git "a/leetcode3/\354\235\264\354\247\204\355\235\254/3014. Minimum Number of Pushes to Type Word I.java" "b/leetcode3/\354\235\264\354\247\204\355\235\254/3014. Minimum Number of Pushes to Type Word I.java" new file mode 100644 index 00000000..64418489 --- /dev/null +++ "b/leetcode3/\354\235\264\354\247\204\355\235\254/3014. Minimum Number of Pushes to Type Word I.java" @@ -0,0 +1,13 @@ +class Solution { + public int minimumPushes(String word) { + int ans = 0; + + for(int i = 0; i < word.length(); i++) { + int idx = i / 8; + + ans += idx + 1; + } + + return ans; + } +} \ No newline at end of file