Design tab system

You are given multiple tabs in your browser, you have to design such a system that when you close one tab then it jumps back to last visited tab just before it. New tabs can also be opened.

Eg. If you have three tabs –,, respectively opened in your browser and you are on, from you switched to, (in here if you close google tab then you should jump to not Now you open in a new tab (in here if you close gmail tab then you should go back to

Author: sumouli.choudhary
Login to Answer
Sort By:
My Answer