You are given a circular array code of length n and an integer key k.
To decrypt the code, replace every element according to the value of k:
If k > k numbers.
If k <
If k ==
As code is circular, the next element after code[n - 1] is code[0], and the element before code[0] is code[n - 1].
Return an array representing the decrypted code.
Constraints:
n code.length
code[i]
You are given a circular array code of length n and an integer key k.
To decrypt the code, replace every element according to the value of k:
If k > k numbers.
If k <
If k ==
As code is circular, the next element after code[n - 1] is code[0], and the element before code[0] is code[n - 1].
Return an array representing the decrypted code.
Constraints:
n code.length
code[i]