Apply Gray(s) before the interleaved-bits transformation. Sketch for n = 3. Is locality improved?

Analyze the apply gray(s) before the interleaved-bits transformation. sketch for n = 3. is locality improved?.

Examples
Input: "test_input_1"
Output: "output_1"
Hints

Apply Gray(s) before the interleaved-bits transformation. Sketch for n = 3. Is locality improved?

Analyze the apply gray(s) before the interleaved-bits transformation. sketch for n = 3. is locality improved?.