栈和队列作为数据结构中两种重要的线性结构,广泛运用于各种系统软件中。介绍如何巧用堆栈及队列来实现一个扑克牌排序算法,通过对堆栈和队列方法的熟练运用来初步认识数据结构,掌握其基本规律。%Stack and queue, as the two important linear structures in data structure, are widely used in all kinds of system software. This paper introduces how to use the stack and queue to achieve an algorithm of the card rank. Through the use of stack and queue method to preliminary understand the data structure, and master the basic law.
展开▼