Algorithm To Insert An Element In Stack