On this festive Christmas day, we invite you to write a recursive function that creates a "countdown sequence". Given a positive integer n, your function should return a list (or array) that starts at n, counts down to 1, and then counts back up to n (excluding the repetition of 1 in the upward count).
For example:
Below is some language-agnostic starter code for various languages to help you get started.