Fortinet interview question

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