diff --git "a/leetcode3/\353\263\200\354\247\200\355\230\221/v2/3014. Minimum Number of Pushes to Type Word I.py" "b/leetcode3/\353\263\200\354\247\200\355\230\221/v2/3014. Minimum Number of Pushes to Type Word I.py" new file mode 100644 index 00000000..19e20403 --- /dev/null +++ "b/leetcode3/\353\263\200\354\247\200\355\230\221/v2/3014. Minimum Number of Pushes to Type Word I.py" @@ -0,0 +1,12 @@ +class Solution: + def minimumPushes(self, word: str) -> int: + n = len(word) + + lst = [] + for i in range(26): + q = i // 8 + lst.append(q+1) + + # print(lst) + + return sum(lst[:n]) \ No newline at end of file