Topic: Queue Problem / Level: advanced

Problem: Implement a function to check if a queue can be rearranged to form a valid infix expression.

Run the code to see the output here...