Algorithm To Insert An Element Into Queue Vs Stack Data