You need to sign in to do that
Don't have an account?
sankar Landa 30
write a apex that implements an array that acts as a queue and stack i.e elements can be inserted by pushing into the array ,and elements can be popped from the head using popqueue or popped from the last by popstack
Andrew Echevarria
An apex class? Apex Lists can be referenced with both .add() & .remove(), and also by list[index].