JS || Solution by Bharadwaj
Code\n\nvar findLexSmallestString = function (s, a, b) {\n    const add = (s) => {\n        let data = s.split("");\n        for (let i = 0; i < data.length; i+
# Code\n```\nvar findLexSmallestString = function (s, a, b) {\n    const add = (s) => {\n        let data = s.split("");\n        for (let i = 0; i < data.length; i++) {\n            if (i % 2 != 0) {\n                let d = Number(data[i]) + a\n                data[i] = d % 10\n            }\n        }\n        data = data.join("")\n        return data\n    }\n\n    const rotate = (s) => {\n        return s.slice(b) + s.slice(0, b)\n    }\n    let q = [s];\n    let seen = new Set();\n    while (q.length) {\n        let d = q.pop();\n        if (!seen.has(d)) {\n            seen.add(d);\n            q.push(add(d))\n            q.push(rotate(d))\n        }\n    }\n    let d = Array.from(seen)\n    let min = Infinity;\n    let returnS = \'\'\n    for (let i = 0; i < d.length; i++) {\n        let f = Number(d[i]);\n        if (f < min) {\n            min = f\n            returnS = d[i]\n        }\n    }\n    return returnS\n};\n```
['JavaScript']