Topic: Queue Problem / Level: advanced

Problem: Write a program to find the longest subsequence of numbers that can be formed from a given queue.

Run the code to see the output here...