IBM interview question

stack array queue data strctures python