please how can i solve this
1-copy queue even values to stack
2-delete odd values from stack
3-sort queue
4-sort stack
5-exchange nodes values between stack and queue
6-gather even values to stack and odd values to queue
7-delete median nodes in queue
8-insert new nodes in it's suitable positions in palindrome(mirror) queue
9-insert new node before every even node value in stack
10-gather all similar nodes in queue