小貓釣魚--棧和隊列的使用

小貓釣魚–棧和隊列的使用 思路 q1和q2手中的牌分別是一個隊列,桌面上的牌是一個棧,用book數組標記桌面上出現的牌。python 代碼 #include <stdio.h> struct queue { int data[1000]; int head; int tail; }; struct stack { int data[10]; int to
相關文章
相關標籤/搜索