Fortinet Interview Question

Some question about data structure such as stack, queue ...