#! /usr/bin/env python
# -*- coding: utf-8 -*-
'''
@author: liudaoqiang
@file: studycase
@time: 2018/9/7 7:05
'''
from arraystack import ArrayStack
def stackToQueue(arrayStack):
queue = ArrayStack()
temp = arrayStack
while not temp.isEmpty():
item = temp.pop()
# item = queue.peek()
return queue