[LeetCode] Minimum Number of Operations to Make X and Y Equal

1 · · Jan. 6, 2024, 3:36 p.m.
10032. Minimum Number of Operations to Make Array XOR Equal to K You are given two positive integers x and y. In one operation, you can do one of the four following operations: Divide x by 11 if x is a multiple of 11. Divide x by 5 if x is a multiple of 5. Decrement x by 1. Increment x by 1. Return the minimum number of operations required to make x and y equal. ...