Search
⌘K

Leetcode 3461. Check If Digits Are Equal in String After Operations I

Repeatedly replace the string with the sequence of sums (mod 10) of each adjacent digit until only two digits remain, and return whether those final two digits are equal.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.