Python寫數據結構:循環隊列

#!/usr/bin/python3.5 #_*_coding:utf-8_*_ class Queue(): def __init__(self,capacity): self.queue = [None] * capacity self.capacity = capacity self.front = 0 self.re
相關文章
相關標籤/搜索