Given two integers n and k, construct a list ans containing
ans is a permutation of all integers from
The list of adjacent absolute differences
Return the list ans. If there are multiple valid answers, return any of them.
Constraints:
Given two integers n and k, construct a list ans containing
ans is a permutation of all integers from
The list of adjacent absolute differences
Return the list ans. If there are multiple valid answers, return any of them.
Constraints: