How to pass input in linked list

how to pass input in linked list it should be static or dynamic ?

It should be dynamic, you have to take input n, and after taking it. You have to insert n nodes at the tail of the linked list and then arrange it in odd even format.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.