摘要:
两栈共享实现 #include <stdio.h> #define MAXSIZE 100 typedef int SElemType; typedef struct{ SElemType data[MAXSIZE]; int top1; //栈1栈顶指针 int top2; //栈2栈顶指针 }S 阅读全文
posted @ 2021-09-22 00:43
kuaiquxie
阅读(54)
评论(0)
推荐(0)
摘要:
将Java数组中的元素前后反转。题目要求:已知一个数组arr = {11,12,13,14,15}用程序实现把该数组中的元素值交换,交换后的数组arr = { 15,14,13,12,11},并输出交换后的数组元素。 package m; public class m { public static 阅读全文
posted @ 2021-09-22 00:42
kuaiquxie
阅读(207)
评论(0)
推荐(0)

浙公网安备 33010602011771号