LeetCodeMinimum Number of Pushes to Type Word IMinimum Number of Pushes to Type Word IEasyMathStringGreedySolution export function minimumPushes(word: string): number { let answer = 0; for (let i = 0; i < word.length; i++) { answer += Math.floor(i / 8) + 1; } return answer; }LeetCodeMinimum Number of Pushes to Type Word Ihttps://leetcode.com/problems/minimum-number-of-pushes-to-type-word-i