← ALL NOTES
Math

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

Given a digit string s. Per operation, each pair of adjacent digits is replaced by their sum mod 10, producing a string one shorter; repeat until 2 digits remain. Check whether those two final digits…

Loading…