Maximize coins with tokens moving by +3 | Google Interview Question