前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >浅析SkipList跳跃表原理及代码实现

浅析SkipList跳跃表原理及代码实现

作者头像
sunsky
发布2020-08-20 11:31:31
5500
发布2020-08-20 11:31:31
举报
文章被收录于专栏:sunskysunsky

SkipList在leveldb以及lucence中都广为使用,是比较高效的数据结构。由于它的代码以及原理实现的简单性,更为人们所接受。我们首先看看SkipList的定义,为什么叫跳跃表?

“ Skip lists are data structures that use probabilistic balancing rather than strictly enforced balancing. As a result, the algorithms for insertion and deletion in skip lists are much simpler and significantly faster than equivalent algorithms for balanced trees. ”

译文:跳跃表使用概率均衡技术而不是使用强制性均衡,因此,对于插入和删除结点比传统上的平衡树算法更为简洁高效。

我们看一个图就能明白,什么是跳跃表,如图1所示:

图1:跳跃表简单示例

如上图所示,是一个即为简单的跳跃表。传统意义的单链表是一个线性结构,向有序的链表中插入一个节点需要O(n)的时间,查找操作需要O(n)的时间。如果我们使用图1所示的跳跃表,就可以减少查找所需时间为O(n/2),因为我们可以先通过每个节点的最上面的指针先进行查找,这样子就能跳过一半的节点。比如我们想查找19,首先和6比较,大于6之后,在和9进行比较,然后在和12进行比较......最后比较到21的时候,发现21大于19,说明查找的点在17和21之间,从这个过程中,我们可以看出,查找的时候跳过了3、7、12等点,因此查找的复杂度为O(n/2)。查找的过程如下图2:

图2:跳跃表查找操作简单示例

其实,上面基本上就是跳跃表的思想,每一个结点不单单只包含指向下一个结点的指针,可能包含很多个指向后续结点的指针,这样就可以跳过一些不必要的结点,从而加快查找、删除等操作。对于一个链表内每一个结点包含多少个指向后续元素的指针,这个过程是通过一个随机函数生成器得到,这样子就构成了一个跳跃表。这就是为什么论文“Skip Lists : A Probabilistic Alternative to Balanced Trees ”中有“概率”的原因了,就是通过随机生成一个结点中指向后续结点的指针数目。随机生成的跳跃表可能如下图3所示:

图3:随机生成的跳跃表

跳跃表的大体原理,我们就讲述到这里。下面我们将从如下几个方面来探讨跳跃表的操作:

1、重要数据结构定义

2、初始化表

3、查找

4、插入

5、删除

6、随机数生成器

7、释放表

8、性能比较

(一)重要数据结构定义

从图3中,我们可以看出一个跳跃表是由结点组成,结点之间通过指针进行链接。因此我们定义如下数据结构:

[cpp] view plain copy

  1. //定义key和value的类型
  2. typedef int KeyType;
  3. typedef int ValueType;
  4. //定义结点
  5. typedef struct nodeStructure* Node;
  6. struct nodeStructure{
  7. KeyType key;
  8. ValueType value;
  9. Node forward[1];
  10. };
  11. //定义跳跃表
  12. typedef struct listStructure* List;
  13. struct listStructure{
  14. int level;
  15. Node header;
  16. };

每一个结点都由3部分组成,key(关键字)、value(存放的值)以及forward数组(指向后续结点的数组,这里只保存了首地址)。通过这些结点,我们就可以创建跳跃表List,它是由两个元素构成,首结点以及level(当前跳跃表内最大的层数或者高度)。这样子,基本的数据结构定义完毕了。

(二)初始化表 初始化表主要包括两个方面,首先就是header节点和NIL结点的申请,其次就是List资源的申请。

[cpp] view plain copy

  1. void SkipList::NewList(){
  2. //设置NIL结点
  3. NewNodeWithLevel(0, NIL_);
  4. NIL_->key = 0x7fffffff;
  5. //设置链表List
  6. list_ = (List)malloc(sizeof(listStructure));
  7. list_->level = 0;
  8. //设置头结点
  9. NewNodeWithLevel(MAX_LEVEL,list_->header);
  10. for(int i = 0; i < MAX_LEVEL; ++i){
  11. list_->header->forward[i] = NIL_;
  12. }
  13. //设置链表元素的数目
  14. size_ = 0;
  15. }
  16. void SkipList::NewNodeWithLevel(const int& level,
  17. Node& node){
  18. //新结点空间大小
  19. int total_size = sizeof(nodeStructure) + level*sizeof(Node);
  20. //申请空间
  21. node = (Node)malloc(total_size);
  22. assert(node != NULL);
  23. }

其中,NewNodeWithLevel是申请结点(总共level层)所需的内存空间。NIL_节点会在后续全部代码实现中可以看到。

(三)查找

查找就是给定一个key,查找这个key是否出现在跳跃表中,如果出现,则返回其值,如果不存在,则返回不存在。我们结合一个图就是讲解查找操作,如下图4所示:

图4:查找操作前的跳跃表

如果我们想查找19是否存在?如何查找呢?我们从头结点开始,首先和9进行判断,此时大于9,然后和21进行判断,小于21,此时这个值肯定在9结点和21结点之间,此时,我们和17进行判断,大于17,然后和21进行判断,小于21,此时肯定在17结点和21结点之间,此时和19进行判断,找到了。具体的示意图如图5所示:

图5:查找操作后的跳跃表

[cpp] view plain copy

  1. bool SkipList::Search(const KeyType& key,
  2. ValueType& value){
  3. Node x = list_->header;
  4. int i;
  5. for(i = list_->level; i >= 0; --i){
  6. while(x->forward[i]->key < key){
  7. x = x->forward[i];
  8. }
  9. }
  10. x = x->forward[0];
  11. if(x->key == key){
  12. value = x->value;
  13. return true;
  14. }else{
  15. return false;
  16. }
  17. }

(四)插入

插入包含如下几个操作:1、查找到需要插入的位置 2、申请新的结点 3、调整指针。

我们结合下图6进行讲解,查找如下图的灰色的线所示 申请新的结点如17结点所示, 调整指向新结点17的指针以及17结点指向后续结点的指针。这里有一个小技巧,就是使用update数组保存大于17结点的位置,这样如果插入17结点的话,就指针调整update数组和17结点的指针、17结点和update数组指向的结点的指针。update数组的内容如红线所示,这些位置才是有可能更新指针的位置。

图6:插入操作示意图(感谢博主:来自cnblogs的qiang.xu

[cpp] view plain copy

  1. bool SkipList::Insert(const KeyType& key,
  2. const ValueType& value){
  3. Node update[MAX_LEVEL];
  4. int i;
  5. Node x = list_->header;
  6. //寻找key所要插入的位置
  7. //保存大于key的位置信息
  8. for(i = list_->level; i >= 0; --i){
  9. while(x->forward[i]->key < key){
  10. x = x->forward[i];
  11. }
  12. update[i] = x;
  13. }
  14. x = x->forward[0];
  15. //如果key已经存在
  16. if(x->key == key){
  17. x->value = value;
  18. return false;
  19. }else{
  20. //随机生成新结点的层数
  21. int level = RandomLevel();
  22. //为了节省空间,采用比当前最大层数加1的策略
  23. if(level > list_->level){
  24. level = ++list_->level;
  25. update[level] = list_->header;
  26. }
  27. //申请新的结点
  28. Node newNode;
  29. NewNodeWithLevel(level, newNode);
  30. newNode->key = key;
  31. newNode->value = value;
  32. //调整forward指针
  33. for(int i = level; i >= 0; --i){
  34. x = update[i];
  35. newNode->forward[i] = x->forward[i];
  36. x->forward[i] = newNode;
  37. }
  38. //更新元素数目
  39. ++size_;
  40. return true;
  41. }
  42. }

(五)删除

删除操作类似于插入操作,包含如下3步:1、查找到需要删除的结点 2、删除结点 3、调整指针

图7:删除操作示意图(感谢博主qiang.xu 来自cnblogs)

[cpp] view plain copy

  1. bool SkipList::Delete(const KeyType& key,
  2. ValueType& value){
  3. Node update[MAX_LEVEL];
  4. int i;
  5. Node x = list_->header;
  6. //寻找要删除的结点
  7. for(i = list_->level; i >= 0; --i){
  8. while(x->forward[i]->key < key){
  9. x = x->forward[i];
  10. }
  11. update[i] = x;
  12. }
  13. x = x->forward[0];
  14. //结点不存在
  15. if(x->key != key){
  16. return false;
  17. }else{
  18. value = x->value;
  19. //调整指针
  20. for(i = 0; i <= list_->level; ++i){
  21. if(update[i]->forward[i] != x)
  22. break;
  23. update[i]->forward[i] = x->forward[i];
  24. }
  25. //删除结点
  26. free(x);
  27. //更新level的值,有可能会变化,造成空间的浪费
  28. while(list_->level > 0
  29. && list_->header->forward[list_->level] == NIL_){
  30. --list_->level;
  31. }
  32. //更新链表元素数目
  33. --size_;
  34. return true;
  35. }
  36. }

(六)随机数生成器

再向跳跃表中插入新的结点时候,我们需要生成该结点的层数,使用的就是随机数生成器,随机的生成一个层数。这部分严格意义上讲,不属于跳跃表的一部分。随机数生成器说简单很简单,说难很也很难,看你究竟是否想生成随机的数。可以采用c语言中srand以及rand函数,也可以自己设计随机数生成器。

此部分我们采用levelDB随机数生成器:

[cpp] view plain copy

  1. // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file. See the AUTHORS file for names of contributors.
  4. #include <stdint.h>
  5. //typedef unsigned int uint32_t;
  6. //typedef unsigned long long uint64_t;
  7. // A very simple random number generator. Not especially good at
  8. // generating truly random bits, but good enough for our needs in this
  9. // package.
  10. class Random {
  11. private:
  12. uint32_t seed_;
  13. public:
  14. explicit Random(uint32_t s) : seed_(s & 0x7fffffffu) {
  15. // Avoid bad seeds.
  16. if (seed_ == 0 || seed_ == 2147483647L) {
  17. seed_ = 1;
  18. }
  19. }
  20. uint32_t Next() {
  21. static const uint32_t M = 2147483647L; // 2^31-1
  22. static const uint64_t A = 16807; // bits 14, 8, 7, 5, 2, 1, 0
  23. // We are computing
  24. // seed_ = (seed_ * A) % M, where M = 2^31-1
  25. //
  26. // seed_ must not be zero or M, or else all subsequent computed values
  27. // will be zero or M respectively. For all other values, seed_ will end
  28. // up cycling through every number in [1,M-1]
  29. uint64_t product = seed_ * A;
  30. // Compute (product % M) using the fact that ((x << 31) % M) == x.
  31. seed_ = static_cast<uint32_t>((product >> 31) + (product & M));
  32. // The first reduction may overflow by 1 bit, so we may need to
  33. // repeat. mod == M is not possible; using > allows the faster
  34. // sign-bit-based test.
  35. if (seed_ > M) {
  36. seed_ -= M;
  37. }
  38. return seed_;
  39. }
  40. // Returns a uniformly distributed value in the range [0..n-1]
  41. // REQUIRES: n > 0
  42. uint32_t Uniform(int n) { return (Next() % n); }
  43. // Randomly returns true ~"1/n" of the time, and false otherwise.
  44. // REQUIRES: n > 0
  45. bool OneIn(int n) { return (Next() % n) == 0; }
  46. // Skewed: pick "base" uniformly from range [0,max_log] and then
  47. // return "base" random bits. The effect is to pick a number in the
  48. // range [0,2^max_log-1] with exponential bias towards smaller numbers.
  49. uint32_t Skewed(int max_log) {
  50. return Uniform(1 << Uniform(max_log + 1));
  51. }
  52. };

其中核心的是 seed_ = (seed_ * A) % M这个函数,并且调用一次就重新更新一个种子seed。以达到随机性。

根据个人喜好,自己可以独立设计随机数生成器,只要能够返回一个随机的数字即可。

(七)释放表

释放表的操作比较简单,只要像单链表一样释放表就可以,释放表的示意图8如下:

图8:释放表

[cpp] view plain copy

  1. void SkipList::FreeList(){
  2. Node p = list_->header;
  3. Node q;
  4. while(p != NIL_){
  5. q = p->forward[0];
  6. free(p);
  7. p = q;
  8. }
  9. free(p);
  10. free(list_);
  11. }

(八)性能比较

我们对跳跃表、平衡树等进行比较,如下图9所示:

图9:性能比较图

从中可以看出,随机跳跃表表现性能很不错,节省了大量复杂的调节平衡树的代码。

========自己开发的源代码,部分参照qiang.xu====================

下面我将自己用C++实现的代码贴出来,总共包含了如下几个文件:

1、Main.cpp 主要用于测试SkipList

2、skiplist.h 接口声明以及重要数据结构定义

3、skiplist.cpp 接口的具体实现

4、random.h 随机数生成器

--------------------------------------Main.cpp----------------------------------------------------

[cpp] view plain copy

  1. //此文件用于测试skiplist
  2. //
  3. //@作者:张海波
  4. //@时间:2013-12-17
  5. //@版权:个人所有
  6. #include "skiplist.h"
  7. #include <iostream>
  8. using namespace std;
  9. int main(int argc, char** argv)
  10. {
  11. cout << "test is starting ....." << endl;
  12. SkipList list;
  13. //测试插入
  14. for(int i = 0; i < 100; ++i){
  15. list.Insert(i, i+10);
  16. //cout << list.GetCurrentLevel() << endl;
  17. }
  18. cout << "The number of elements in SkipList is :"
  19. << list.size()
  20. << endl;
  21. if(list.size() != 100){
  22. cout << "Insert failure." << endl;
  23. }else{
  24. cout << "Insert success." << endl;
  25. }
  26. //测试查找
  27. bool is_search_success = true;
  28. for(int i = 0; i < 100; ++i){
  29. int value;
  30. if(!(list.Search(i,value) && (value == i+10))){
  31. is_search_success = false;
  32. break;
  33. }
  34. }
  35. if(is_search_success){
  36. cout << "Search success." << endl;
  37. }else{
  38. cout << "Search failure." << endl;
  39. }
  40. //测试删除
  41. bool is_delete_success = true;
  42. for(int i = 0; i < 100; ++i){
  43. int value;
  44. if(!(list.Delete(i,value) && (value == i+10))){
  45. is_delete_success = false;
  46. break;
  47. }
  48. }
  49. if(is_delete_success){
  50. cout << "Delete success." << endl;
  51. }else{
  52. cout << "Delete failure." << endl;
  53. }
  54. cout << "test is finished ...." << endl;
  55. return 0;
  56. }

--------------------------------------------------skiplist.h---------------------------------------------------

[cpp] view plain copy

  1. //跳表实现
  2. //
  3. //参考文章为:Skip lists: a probabilistic alternative to balanced trees
  4. //
  5. //提供如下接口:
  6. // Search:搜索给定key的值
  7. // Insert:插入指定的key及value
  8. // Delete:删除指定的key
  9. //
  10. //@作者: 张海波
  11. //@时间: 2013-12-17
  12. //@版权: 个人所有
  13. //
  14. #include <stddef.h>
  15. #include "random.h"
  16. //定义调试开关
  17. #define Debug
  18. //最大层数
  19. const int MAX_LEVEL = 16;
  20. //定义key和value的类型
  21. typedef int KeyType;
  22. typedef int ValueType;
  23. //定义结点
  24. typedef struct nodeStructure* Node;
  25. struct nodeStructure{
  26. KeyType key;
  27. ValueType value;
  28. Node forward[1];
  29. };
  30. //定义跳跃表
  31. typedef struct listStructure* List;
  32. struct listStructure{
  33. int level;
  34. Node header;
  35. };
  36. class SkipList{
  37. public:
  38. //初始化表结构
  39. SkipList():rnd_(0xdeadbeef)
  40. { NewList(); }
  41. //释放内存空间
  42. ~SkipList(){ FreeList(); }
  43. //搜索key,保存结果至value
  44. //找到,返回true
  45. //未找到,返回false
  46. bool Search(const KeyType& key,
  47. ValueType& value);
  48. //插入key和value
  49. bool Insert(const KeyType& key,
  50. const ValueType& value);
  51. //删除key,保存结果至value
  52. //删除成功返回true
  53. //未删除成功返回false
  54. bool Delete(const KeyType& key,
  55. ValueType& value);
  56. //链表包含元素的数目
  57. int size(){ return size_; }
  58. //打印当前最大的level
  59. int GetCurrentLevel();
  60. private:
  61. //初始化表
  62. void NewList();
  63. //释放表
  64. void FreeList();
  65. //创建一个新的结点,结点的层数为level
  66. void NewNodeWithLevel(const int& level,
  67. Node& node);
  68. //随机生成一个level
  69. int RandomLevel();
  70. private:
  71. List list_;
  72. Node NIL_;
  73. //链表中包含元素的数目
  74. size_t size_;
  75. //随机器生成器
  76. Random rnd_;
  77. };

-------------------------------------------------------------skiplist.cpp-----------------------------------------------------

[cpp] view plain copy

  1. //skiplist头文件重要函数实现
  2. //
  3. //@作者:张海波
  4. //@时间:2013-12-17
  5. //@版权:个人所有
  6. #include "skiplist.h"
  7. #include "time.h"
  8. #include <assert.h>
  9. #include <stdlib.h>
  10. #include <string>
  11. #include <iostream>
  12. using namespace std;
  13. void DebugOutput(const string& information){
  14. #ifdef Debug
  15. cout << information << endl;
  16. #endif
  17. }
  18. void SkipList::NewList(){
  19. //设置NIL结点
  20. NewNodeWithLevel(0, NIL_);
  21. NIL_->key = 0x7fffffff;
  22. //设置链表List
  23. list_ = (List)malloc(sizeof(listStructure));
  24. list_->level = 0;
  25. //设置头结点
  26. NewNodeWithLevel(MAX_LEVEL,list_->header);
  27. for(int i = 0; i < MAX_LEVEL; ++i){
  28. list_->header->forward[i] = NIL_;
  29. }
  30. //设置链表元素的数目
  31. size_ = 0;
  32. }
  33. void SkipList::NewNodeWithLevel(const int& level,
  34. Node& node){
  35. //新结点空间大小
  36. int total_size = sizeof(nodeStructure) + level*sizeof(Node);
  37. //申请空间
  38. node = (Node)malloc(total_size);
  39. assert(node != NULL);
  40. }
  41. void SkipList::FreeList(){
  42. Node p = list_->header;
  43. Node q;
  44. while(p != NIL_){
  45. q = p->forward[0];
  46. free(p);
  47. p = q;
  48. }
  49. free(p);
  50. free(list_);
  51. }
  52. bool SkipList::Search(const KeyType& key,
  53. ValueType& value){
  54. Node x = list_->header;
  55. int i;
  56. for(i = list_->level; i >= 0; --i){
  57. while(x->forward[i]->key < key){
  58. x = x->forward[i];
  59. }
  60. }
  61. x = x->forward[0];
  62. if(x->key == key){
  63. value = x->value;
  64. return true;
  65. }else{
  66. return false;
  67. }
  68. }
  69. bool SkipList::Insert(const KeyType& key,
  70. const ValueType& value){
  71. Node update[MAX_LEVEL];
  72. int i;
  73. Node x = list_->header;
  74. //寻找key所要插入的位置
  75. //保存大约key的位置信息
  76. for(i = list_->level; i >= 0; --i){
  77. while(x->forward[i]->key < key){
  78. x = x->forward[i];
  79. }
  80. update[i] = x;
  81. }
  82. x = x->forward[0];
  83. //如果key已经存在
  84. if(x->key == key){
  85. x->value = value;
  86. return false;
  87. }else{
  88. //随机生成新结点的层数
  89. int level = RandomLevel();
  90. //为了节省空间,采用比当前最大层数加1的策略
  91. if(level > list_->level){
  92. level = ++list_->level;
  93. update[level] = list_->header;
  94. }
  95. //申请新的结点
  96. Node newNode;
  97. NewNodeWithLevel(level, newNode);
  98. newNode->key = key;
  99. newNode->value = value;
  100. //调整forward指针
  101. for(int i = level; i >= 0; --i){
  102. x = update[i];
  103. newNode->forward[i] = x->forward[i];
  104. x->forward[i] = newNode;
  105. }
  106. //更新元素数目
  107. ++size_;
  108. return true;
  109. }
  110. }
  111. bool SkipList::Delete(const KeyType& key,
  112. ValueType& value){
  113. Node update[MAX_LEVEL];
  114. int i;
  115. Node x = list_->header;
  116. //寻找要删除的结点
  117. for(i = list_->level; i >= 0; --i){
  118. while(x->forward[i]->key < key){
  119. x = x->forward[i];
  120. }
  121. update[i] = x;
  122. }
  123. x = x->forward[0];
  124. //结点不存在
  125. if(x->key != key){
  126. return false;
  127. }else{
  128. value = x->value;
  129. //调整指针
  130. for(i = 0; i <= list_->level; ++i){
  131. if(update[i]->forward[i] != x)
  132. break;
  133. update[i]->forward[i] = x->forward[i];
  134. }
  135. //删除结点
  136. free(x);
  137. //更新level的值,有可能会变化,造成空间的浪费
  138. while(list_->level > 0
  139. && list_->header->forward[list_->level] == NIL_){
  140. --list_->level;
  141. }
  142. //更新链表元素数目
  143. --size_;
  144. return true;
  145. }
  146. }
  147. int SkipList::RandomLevel(){
  148. int level = static_cast<int>(rnd_.Uniform(MAX_LEVEL));
  149. if(level == 0){
  150. level = 1;
  151. }
  152. //cout << level << endl;
  153. return level;
  154. }
  155. int SkipList::GetCurrentLevel(){
  156. return list_->level;
  157. }

-----------------------------------------------------------random.h-------------------------------------------------------

[cpp] view plain copy

  1. // Copyright (c) 2011 The LevelDB Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file. See the AUTHORS file for names of contributors.
  4. #include <stdint.h>
  5. //typedef unsigned int uint32_t;
  6. //typedef unsigned long long uint64_t;
  7. // A very simple random number generator. Not especially good at
  8. // generating truly random bits, but good enough for our needs in this
  9. // package.
  10. class Random {
  11. private:
  12. uint32_t seed_;
  13. public:
  14. explicit Random(uint32_t s) : seed_(s & 0x7fffffffu) {
  15. // Avoid bad seeds.
  16. if (seed_ == 0 || seed_ == 2147483647L) {
  17. seed_ = 1;
  18. }
  19. }
  20. uint32_t Next() {
  21. static const uint32_t M = 2147483647L; // 2^31-1
  22. static const uint64_t A = 16807; // bits 14, 8, 7, 5, 2, 1, 0
  23. // We are computing
  24. // seed_ = (seed_ * A) % M, where M = 2^31-1
  25. //
  26. // seed_ must not be zero or M, or else all subsequent computed values
  27. // will be zero or M respectively. For all other values, seed_ will end
  28. // up cycling through every number in [1,M-1]
  29. uint64_t product = seed_ * A;
  30. // Compute (product % M) using the fact that ((x << 31) % M) == x.
  31. seed_ = static_cast<uint32_t>((product >> 31) + (product & M));
  32. // The first reduction may overflow by 1 bit, so we may need to
  33. // repeat. mod == M is not possible; using > allows the faster
  34. // sign-bit-based test.
  35. if (seed_ > M) {
  36. seed_ -= M;
  37. }
  38. return seed_;
  39. }
  40. // Returns a uniformly distributed value in the range [0..n-1]
  41. // REQUIRES: n > 0
  42. uint32_t Uniform(int n) { return (Next() % n); }
  43. // Randomly returns true ~"1/n" of the time, and false otherwise.
  44. // REQUIRES: n > 0
  45. bool OneIn(int n) { return (Next() % n) == 0; }
  46. // Skewed: pick "base" uniformly from range [0,max_log] and then
  47. // return "base" random bits. The effect is to pick a number in the
  48. // range [0,2^max_log-1] with exponential bias towards smaller numbers.
  49. uint32_t Skewed(int max_log) {
  50. return Uniform(1 << Uniform(max_log + 1));
  51. }
  52. };

上述程序运行的结果如下图所示:

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2018-04-17 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档