• 【数据结构】——顺序表


    目录

    1.线性表

     2.顺序表

    2.1概念及结构

    3.静态顺序表

    4.动态顺序表

    1.定义一个顺序表

    2.顺序表的初始化和销毁

    3.顺序表尾插

    4.顺序表打印

    5.顺序表尾删

    6.顺序表头插

    7.顺序表头删

    8.在pos(任意)位置的插入

    9.在pos(任意)位置的删除

    5.简单的写一个菜单

    6.完整的动态顺序表代码

     6.1SeqList.h

     6.2SeqList.c

     6.3Test.c


    1.线性表

    线性表(linear list)是n个具有相同特性的数据元素的有限序列。

    线性表是一种在实际中广泛使用的数据结构,常见的线性表:顺序表、链表、栈、队列、字符串...

    线性表在逻辑上是线性结构,也就说是连续的一条直线。但是在物理结构上并不一定是连续的,

    线性表在物理上存储时,通常以数组和链式结构的形式存储。

     2.顺序表

    2.1概念及结构

    顺序表是用一段物理地址连续的存储单元依次存储数据元素的线性结构,一般情况下采用数组存

    储。在数组上完成数据的增删查改。

    顺序表一般可以分为:

    1. 静态顺序表:使用定长数组存储元素。

    2. 动态顺序表:使用动态开辟的数组存储。

    顺序表的本质就是数组

    顺序表要求的是连续存储

    3.静态顺序表

    静态顺序表只适用于确定知道需要存多少数据的场景。静态顺序表的定长数组导致N定了,空间开多了浪费,开少了不够用。因此现实生活场景基本不会用到静态顺序表

     

    接下来用代码看一看静态顺序表是怎么实现的:

    1. // 静态顺序表 -- 不太实用
    2. // N小了不够用,N大了可能浪费
    3. #define N 100
    4. //typedef struct shunxubiao//不能用拼英取名字
    5. typedef int SLDataType;//重命名结构中的数据类型,以便后期维护
    6. typedef struct SeqList
    7. {
    8. SLDataType a[N];
    9. int size; // 记录存储多少个有效数据
    10. }SL;
    11. // STL命名风格
    12. //void SeqListInit(SL s);
    13. void SLInit(SL s);
    14. void SLPushBack(SL s, SLDataType x);
    15. //void SLWeicha(SL s, int x);//不能这样取名字

    4.动态顺序表

    相比于静态顺序表,动态顺序表能够改变内存空间的大小,因此不会出现内存过大或者太小的情况,更适用于平时日常生活的场景。

     接下来用代码看一看动态顺序表是怎么实现的:

    1.定义一个顺序表

    1. typedef int SLDataType;
    2. typedef struct SeqList
    3. {
    4. SLDataType* a;
    5. int size; // 记录存储多少个有效数据
    6. int capacity; // 空间容量大小
    7. }SL;

    2.顺序表的初始化和销毁

    1. //顺序表初始化
    2. void SLInit(SL* ps)
    3. {
    4. assert(ps);
    5. ps->a = NULL;
    6. ps->size = 0;
    7. ps->capacity = 0;
    8. }
    9. //顺序表销毁
    10. void SLDestroy(SL* ps)
    11. {
    12. assert(ps);
    13. //if (ps->a != NULL)
    14. if (ps->a)
    15. {
    16. free(ps->a);
    17. ps->a = NULL;
    18. ps->size = ps->capacity = 0;
    19. }
    20. }

    3.顺序表尾插

    1.先判断数组的容量够不够

    2.如果不够的话就需要扩容

    3.扩容完成之后,将想要插入的数据x插入到尾部

    1. void SLPushBack(SL* ps, SLDataType x)
    2. {
    3. //版本1
    4. assert(ps);
    5. // 扩容
    6. if (ps->size == ps->capacity)
    7. {
    8. int newCapacity = ps->capacity == 0 ? 4 : ps->capacity * 2;
    9. SLDataType* tmp = (SLDataType*)realloc(ps->a, newCapacity * sizeof(SLDataType));
    10. if (tmp == NULL)
    11. {
    12. perror("realloc fail");
    13. exit(-1);//终止程序
    14. }
    15. ps->a = tmp;
    16. ps->capacity = newCapacity;
    17. }
    18. ps->a[ps->size] = x;
    19. ps->size++;
    20. //版本2
    21. assert(ps);
    22. SLCheckCapacity(ps);
    23. ps->a[ps->size] = x;
    24. ps->size++;
    25. //版本3
    26. SLInsert(ps, ps->size, x);
    27. }

    PS:

    探究realloc扩容是原地扩容还是异地扩容

     

    4.顺序表打印

    1. void SLPrint(SL* ps)
    2. {
    3. assert(ps);
    4. for (int i = 0; i < ps->size; ++i)
    5. {
    6. printf("%d ", ps->a[i]);
    7. }
    8. printf("\n");
    9. }

    5.顺序表尾删

    PS:并不需要将尾部的那个数据置为0,因为有可能我们存的就是0

    我们只需要缩减数组的长度size就行了,缩减一次,就相当于尾部的数据被删除了

    那么下次我们尾插的时候,虽然这个数据还在,但是也会被覆盖掉

    要注意的是size为0的时候就不能进行尾删了

    1. void SLPopBack(SL* ps)
    2. {
    3. //版本1
    4. assert(ps);
    5. // 温柔的检查
    6. /*if (ps->size == 0)
    7. {
    8. return;
    9. }*/
    10. // 暴力的检查
    11. assert(ps->size > 0);
    12. //ps->a[ps->size - 1] = 0;
    13. ps->size--;
    14. //版本2
    15. SLErase(ps, ps->size-1);
    16. }

    6.顺序表头插

    在数组的头部插入一个数据

     

     如果空间满了就需要扩容,想到之前尾插的时候也需要扩容,因此可以将这两次扩容写成一个扩容函数

    1. //扩容函数
    2. void SLCheckCapacity(SL* ps)
    3. {
    4. assert(ps);
    5. if (ps->size == ps->capacity)
    6. {
    7. int newCapacity = ps->capacity == 0 ? 4 : ps->capacity * 2;
    8. SLDataType* tmp = (SLDataType*)realloc(ps->a, newCapacity * sizeof(SLDataType));
    9. if (tmp == NULL)
    10. {
    11. perror("realloc fail");
    12. exit(-1);
    13. }
    14. ps->a = tmp;
    15. ps->capacity = newCapacity;
    16. }
    17. }
    1. void SLPushFront(SL* ps, SLDataType x)
    2. {
    3. //版本1
    4. assert(ps);
    5. //检查扩容
    6. SLCheckCapacity(ps);
    7. // 挪动数据
    8. int end = ps->size - 1;
    9. while (end >= 0)
    10. {
    11. ps->a[end + 1] = ps->a[end];
    12. end--;
    13. }
    14. ps->a[0] = x;
    15. ps->size++;
    16. //版本2
    17. SLInsert(ps, 0, x);
    18. }

    7.顺序表头删

    删除头部的一个元素,将后面的元素整体向前挪动一个元素的空间,就能覆盖掉第一个元素

    分析图如下:

    (版本1的代码)

     代码如下:

    1. void SLPopFront(SL* ps)
    2. {
    3. //版本1
    4. assert(ps);
    5. assert(ps->size > 0);
    6. int begin = 1;
    7. while (begin < ps->size)
    8. {
    9. ps->a[begin - 1] = ps->a[begin];
    10. begin++;
    11. }
    12. ps->size--;
    13. //版本2
    14. SLErase(ps, 0);
    15. }

    PS:越界是不一定报错的,尤其是越界读

          

     越界读只是去查看越界位置处的值,因此大部分编译器不会报错

    但是越界写是去改变越界位置处的值,这个是不被允许的,属于非法访问了,因此可能会被查出来,但是根据每个编译器查越界位置的监察位置不同,可能会导致查不出的情况,

    8.在pos(任意)位置的插入

     参考代码如下:

    1. // 在pos位置插入数据
    2. void SLInsert(SL* ps, int pos, SLDataType x)
    3. {
    4. assert(ps);
    5. assert(pos >= 0);
    6. assert(pos <= ps->size);
    7. SLCheckCapacity(ps);
    8. int end = ps->size - 1;
    9. while (end >= pos)
    10. {
    11. ps->a[end + 1] = ps->a[end];
    12. end--;
    13. }
    14. ps->a[pos] = x;
    15. ps->size++;
    16. }

    由于上面的代码实现的是任意位置插入,那么头插和尾插也属于任意位置中的两种特殊情况

    那么SLInsert()能够被复用,去修改上面提到的尾插和头插的代码。 

    9.在pos(任意)位置的删除

     参考代码如下:

    1. // 删除pos位置数据
    2. void SLErase(SL* ps, int pos)
    3. {
    4. assert(ps);
    5. assert(pos >= 0);
    6. assert(pos < ps->size);
    7. //assert(ps->size > 0);
    8. // 挪动数据覆盖
    9. int begin = pos + 1;
    10. while (begin < ps->size)
    11. {
    12. ps->a[begin - 1] = ps->a[begin];
    13. begin++;
    14. }
    15. ps->size--;
    16. }

    既然pos(任意)位置的值都能被删除了,那么头删和尾删也只是SLErase函数的两者特殊情况,因此头删和尾删的代码能够被SLErase函数替换

     10.找顺序表中某个值

    上面的头删和尾删还有pos位置的删除都是通过下标来删除,但是实际生活中,又不是人人都是程序员,别人可能压根不懂下标的概念,那这个时候,我想删除数字10,应该怎么删除呢?

    这个时候我们就要去查找数字10对应的下标了,得到下标之后,就能调用上述的函数去删除10了

    参考代码如下:

    1. int SLFind(SL* ps, SLDataType x, int begin)
    2. {
    3. assert(ps);
    4. for (int i = begin; i < ps->size; ++i)
    5. {
    6. if (ps->a[i] == x)
    7. {
    8. return i;
    9. }
    10. }
    11. return -1;
    12. }
    13. //找到x了,返回下标
    14. /找不到,返回-1

    5.简单的写一个菜单

    1. void menu()
    2. {
    3. printf("***********************************************\n");
    4. printf("1、尾插数据 2、尾删数据\n");
    5. printf("3、头插数据 4、头删数据\n");
    6. printf("5、打印数据 -1、退出\n");
    7. printf("***********************************************\n");
    8. }
    9. int main()
    10. {
    11. SL s;
    12. SLInit(&s);
    13. int option = 0;
    14. int val = 0;
    15. do
    16. {
    17. menu();
    18. printf("请输入你的操作:>");
    19. scanf("%d", &option);
    20. switch (option)
    21. {
    22. case 1:
    23. printf("请依次输入你要尾插的数据,以-1结束");
    24. scanf("%d", &val);
    25. while (val != -1)
    26. {
    27. SLPushBack(&s, val);
    28. scanf("%d", &val);
    29. }
    30. break;
    31. case 2:
    32. SLPopBack(&s);
    33. break;
    34. case 3:
    35. break;
    36. case 4:
    37. break;
    38. case 5:
    39. SLPrint(&s);
    40. break;
    41. default:
    42. break;
    43. }
    44. } while (option != -1);
    45. SLDestroy(&s);
    46. return 0;
    47. }

    PS:对于初学数据结构的朋友来说,不建议去写菜单,菜单的本质就是便于非程序员使用者和计算机啊交互的,但是对于程序员来说,简洁的菜单反而不利于我们去发现代码中的BUG,不利于我们去调试代码,因此菜单尽量不要去写,要写的话,也只是整个代码的逻辑框架已经写完了,最后再去写菜单。

    6.完整的动态顺序表代码

     6.1SeqList.h

    1. #define _CRT_SECURE_NO_WARNINGS 1
    2. #pragma once
    3. #include
    4. #include
    5. #include
    6. // 动态顺序表 -- 按需扩空间
    7. typedef int SLDataType;
    8. typedef struct SeqList
    9. {
    10. SLDataType* a; // 指向动态开辟的数组
    11. int size; // 记录存储多少个有效数据
    12. int capacity; // 空间容量大小
    13. }SL;
    14. //顺序表打印
    15. void SLPrint(SL* ps);
    16. //顺序表初始化
    17. void SLInit(SL* ps);
    18. //顺序表销毁
    19. void SLDestroy(SL* ps);
    20. //顺序表尾插
    21. void SLPushBack(SL* ps, SLDataType x);
    22. //顺序表尾删
    23. void SLPopBack(SL* ps);
    24. //顺序表头插
    25. void SLPushFront(SL* ps, SLDataType x);
    26. //顺序表头删
    27. void SLPopFront(SL* ps);
    28. //中间插入删除
    29. //在pos(任意)位置插入数据,
    30. void SLInsert(SL* ps, int pos, SLDataType x);
    31. //删除pos(任意)位置数据
    32. void SLErase(SL* ps, int pos);
    33. //查找顺序表中x值的位置,返回下标
    34. //int SLFind(SL* ps, SLDataType x);
    35. // begin查找x的起始位置
    36. int SLFind(SL* ps, SLDataType x, int begin);
    37. // B树 红黑树 哈希

     6.2SeqList.c

    1. #define _CRT_SECURE_NO_WARNINGS 1
    2. #include"SeqList.h"
    3. void SLPrint(SL* ps)
    4. {
    5. assert(ps);
    6. for (int i = 0; i < ps->size; ++i)
    7. {
    8. printf("%d ", ps->a[i]);
    9. }
    10. printf("\n");
    11. }
    12. //扩容函数
    13. void SLCheckCapacity(SL* ps)
    14. {
    15. assert(ps);
    16. if (ps->size == ps->capacity)
    17. {
    18. int newCapacity = ps->capacity == 0 ? 4 : ps->capacity * 2;
    19. SLDataType* tmp = (SLDataType*)realloc(ps->a, newCapacity * sizeof(SLDataType));
    20. if (tmp == NULL)
    21. {
    22. perror("realloc fail");
    23. exit(-1);
    24. }
    25. ps->a = tmp;
    26. ps->capacity = newCapacity;
    27. }
    28. }
    29. void SLInit(SL* ps)
    30. {
    31. assert(ps);
    32. ps->a = NULL;
    33. ps->size = 0;
    34. ps->capacity = 0;
    35. }
    36. void SLDestroy(SL* ps)
    37. {
    38. assert(ps);
    39. //if (ps->a != NULL)
    40. if (ps->a)
    41. {
    42. free(ps->a);
    43. ps->a = NULL;
    44. ps->size = ps->capacity = 0;
    45. }
    46. }
    47. //时间复杂度O(1)--尽量用尾插,头差时间复杂度高
    48. void SLPushBack(SL* ps, SLDataType x)
    49. {
    50. //版本1
    51. //assert(ps);
    52. // 扩容
    53. //if (ps->size == ps->capacity)
    54. //{
    55. // int newCapacity = ps->capacity == 0 ? 4 : ps->capacity * 2;
    56. // SLDataType* tmp = (SLDataType*)realloc(ps->a, newCapacity * sizeof(SLDataType));
    57. // if (tmp == NULL)
    58. // {
    59. // perror("realloc fail");
    60. // exit(-1);//终止程序
    61. // }
    62. // ps->a = tmp;
    63. // ps->capacity = newCapacity;
    64. //}
    65. //ps->a[ps->size] = x;
    66. //ps->size++;
    67. //版本2
    68. //assert(ps);
    69. //SLCheckCapacity(ps);
    70. //ps->a[ps->size] = x;
    71. //ps->size++;
    72. //版本3
    73. SLInsert(ps, ps->size, x);
    74. }
    75. void SLPopBack(SL* ps)
    76. {
    77. //版本1
    78. //assert(ps);
    79. 温柔的检查
    80. ///*if (ps->size == 0)
    81. //{
    82. //return;
    83. //}*/
    84. 暴力的检查
    85. //assert(ps->size > 0);
    86. ps->a[ps->size - 1] = 0;
    87. //ps->size--;
    88. //版本2
    89. SLErase(ps, ps->size - 1);
    90. }
    91. //时间复杂度O(N)
    92. void SLPushFront(SL* ps, SLDataType x)
    93. {
    94. 版本1
    95. //assert(ps);
    96. 检查扩容
    97. //SLCheckCapacity(ps);
    98. 挪动数据
    99. //int end = ps->size - 1;
    100. //while (end >= 0)
    101. //{
    102. // ps->a[end + 1] = ps->a[end];
    103. // end--;
    104. //}
    105. //ps->a[0] = x;
    106. //ps->size++;
    107. //版本2
    108. SLInsert(ps, 0, x);
    109. }
    110. void SLPopFront(SL* ps)
    111. {
    112. 版本1
    113. //assert(ps);
    114. //assert(ps->size > 0);
    115. //int begin = 1;
    116. //while (begin < ps->size)
    117. //{
    118. // ps->a[begin - 1] = ps->a[begin];
    119. // begin++;
    120. //}
    121. //ps->size--;
    122. //版本2
    123. SLErase(ps, 0);
    124. }
    125. // 在pos位置插入数据
    126. void SLInsert(SL* ps, int pos, SLDataType x)
    127. {
    128. assert(ps);
    129. assert(pos >= 0);
    130. assert(pos <= ps->size);
    131. SLCheckCapacity(ps);
    132. int end = ps->size - 1;
    133. while (end >= pos)
    134. {
    135. ps->a[end + 1] = ps->a[end];
    136. end--;
    137. }
    138. ps->a[pos] = x;
    139. ps->size++;
    140. }
    141. // 删除pos位置数据
    142. void SLErase(SL* ps, int pos)
    143. {
    144. assert(ps);
    145. assert(pos >= 0);
    146. assert(pos < ps->size);
    147. //assert(ps->size > 0);
    148. // 挪动数据覆盖
    149. int begin = pos + 1;
    150. while (begin < ps->size)
    151. {
    152. ps->a[begin - 1] = ps->a[begin];
    153. begin++;
    154. }
    155. ps->size--;
    156. }
    157. //int SLFind(SL* ps, SLDataType x)
    158. //{
    159. // assert(ps);
    160. //
    161. // for (int i = 0; i < ps->size; ++i)
    162. // {
    163. // if (ps->a[i] == x)
    164. // {
    165. // return i;
    166. // }
    167. // }
    168. //
    169. // return -1;
    170. //}
    171. int SLFind(SL* ps, SLDataType x, int begin)
    172. {
    173. assert(ps);
    174. for (int i = begin; i < ps->size; ++i)
    175. {
    176. if (ps->a[i] == x)
    177. {
    178. return i;
    179. }
    180. }
    181. return -1;
    182. }

     6.3Test.c

    1. #define _CRT_SECURE_NO_WARNINGS 1
    2. #include "SeqList.h"
    3. void TestSeqList1()
    4. {
    5. SL sl;
    6. SLInit(&sl);
    7. SLPushBack(&sl, 1);
    8. SLPushBack(&sl, 2);
    9. SLPushBack(&sl, 3);
    10. SLPushBack(&sl, 4);
    11. SLPushBack(&sl, 5);
    12. SLPushBack(&sl, 5);
    13. SLPushBack(&sl, 5);
    14. SLPushBack(&sl, 5);
    15. SLPushBack(&sl, 5);
    16. SLPrint(&sl);
    17. SLDestroy(&sl);
    18. }
    19. void TestSeqList2()
    20. {
    21. /*SL* s = NULL;
    22. SLInit(s);*/
    23. SL sl;
    24. SLInit(&sl);
    25. SLPushBack(&sl, 1);
    26. SLPushBack(&sl, 2);
    27. SLPushBack(&sl, 3);
    28. SLPushBack(&sl, 4);
    29. SLPrint(&sl);
    30. SLPopBack(&sl);
    31. SLPrint(&sl);
    32. SLPushBack(&sl, 8);
    33. SLPrint(&sl);
    34. SLPopBack(&sl);
    35. SLPopBack(&sl);
    36. SLPopBack(&sl);
    37. SLPopBack(&sl);
    38. //SLPopBack(&sl);
    39. SLPrint(&sl);
    40. SLPushBack(&sl, 1);
    41. //SLPushBack(&sl, 2);
    42. SLPushBack(&sl, 2);
    43. SLPushBack(&sl, 2);
    44. SLDestroy(&sl);
    45. }
    46. void TestSeqList3()
    47. {
    48. SL sl;
    49. SLInit(&sl);
    50. SLPushFront(&sl, 1);
    51. SLPushFront(&sl, 2);
    52. SLPushFront(&sl, 3);
    53. SLPushFront(&sl, 4);
    54. SLPrint(&sl);
    55. SLPopFront(&sl);
    56. SLPopFront(&sl);
    57. SLPopFront(&sl);
    58. SLPopFront(&sl);
    59. //SLPopFront(&sl);
    60. SLPrint(&sl);
    61. SLPushBack(&sl, 10);
    62. SLPrint(&sl);
    63. SLDestroy(&sl);
    64. }
    65. void TestSeqList4()
    66. {
    67. SL sl;
    68. SLInit(&sl);
    69. SLPushBack(&sl, 1);
    70. SLPushBack(&sl, 2);
    71. SLPushBack(&sl, 3);
    72. SLPushBack(&sl, 4);
    73. SLPrint(&sl);
    74. SLInsert(&sl, 2, 20);
    75. SLPrint(&sl);
    76. SLInsert(&sl, 5, 500);
    77. SLPrint(&sl);
    78. SLInsert(&sl, 0, 500);
    79. SLPrint(&sl);
    80. SLDestroy(&sl);
    81. }
    82. void TestSeqList5()
    83. {
    84. SL sl;
    85. SLInit(&sl);
    86. SLPushBack(&sl, 1);
    87. SLPushBack(&sl, 2);
    88. SLPushBack(&sl, 3);
    89. SLPushBack(&sl, 4);
    90. SLPrint(&sl);
    91. SLErase(&sl, 2);
    92. SLPrint(&sl);
    93. SLErase(&sl, 2);
    94. SLPrint(&sl);
    95. SLErase(&sl, 0);
    96. SLPrint(&sl);
    97. SLDestroy(&sl);
    98. }
    99. void TestSeqList6()
    100. {
    101. SL sl;
    102. SLInit(&sl);
    103. SLPushBack(&sl, 1);
    104. SLPushBack(&sl, 2);
    105. SLPushBack(&sl, 3);
    106. SLPushBack(&sl, 4);
    107. SLPushBack(&sl, 5);
    108. SLPushBack(&sl, 7);
    109. SLPushBack(&sl, 5);
    110. SLPushBack(&sl, 8);
    111. SLPushBack(&sl, 5);
    112. SLPrint(&sl);
    113. /*int pos = SLFind(&sl, 5);
    114. if (pos != -1)
    115. {
    116. SLErase(&sl, pos);
    117. }
    118. SLPrint(&sl);*/
    119. int pos = SLFind(&sl, 4, 0);
    120. if (pos != -1)
    121. {
    122. SLErase(&sl, pos);
    123. }
    124. SLPrint(&sl);
    125. // 删除顺序表所有的5
    126. pos = SLFind(&sl, 5, 0);
    127. while (pos != -1)
    128. {
    129. SLErase(&sl, pos);
    130. pos = SLFind(&sl, 5, pos);
    131. }
    132. SLPrint(&sl);
    133. SLDestroy(&sl);
    134. }
    135. void menu()
    136. {
    137. printf("***********************************************\n");
    138. printf("1、尾插数据 2、尾删数据\n");
    139. printf("3、头插数据 4、头删数据\n");
    140. printf("5、打印数据 -1、退出\n");
    141. printf("***********************************************\n");
    142. }
    143. int main()
    144. {
    145. //TestSeqList1()
    146. //TestSeqList2()
    147. //TestSeqList3()
    148. //TestSeqList4()
    149. //TestSeqList5()
    150. //TestSeqList6()
    151. SL s;
    152. SLInit(&s);
    153. int option = 0;
    154. int val = 0;
    155. do
    156. {
    157. menu();
    158. printf("请输入你的操作:>");
    159. scanf("%d", &option);
    160. switch (option)
    161. {
    162. case 1:
    163. printf("请依次输入你要尾插的数据,以-1结束");
    164. scanf("%d", &val);
    165. while (val != -1)
    166. {
    167. SLPushBack(&s, val);
    168. scanf("%d", &val);
    169. }
    170. break;
    171. case 2:
    172. SLPopBack(&s);
    173. break;
    174. case 3:
    175. break;
    176. case 4:
    177. break;
    178. case 5:
    179. SLPrint(&s);
    180. break;
    181. default:
    182. break;
    183. }
    184. } while (option != -1);
    185. SLDestroy(&s);
    186. return 0;
    187. }
  • 相关阅读:
    11GR2 rac 2节点一键安装演示
    QT小记:警告Use multi-arg instead
    HashMap&ConcurrentHashMap
    Unity DOTS Component概述
    AtCoder Beginner Contest 254「E bfs」「F st表维护差分数组gcd」
    青藏高原连续日光诱导叶绿素荧光数据集(2000-2018)
    一种高效的同态加密方案及其应用-解读
    Java面试:全面掌握Java知识的捷径!
    Android studio 打包release版本 apk 换方式了?
    有哪些不起眼却赚钱的行业?
  • 原文地址:https://blog.csdn.net/luoheng1114/article/details/127626903