Infosys Interview Question

Joins in SQL , queue and stack