摘要: 1、复杂度概念 算法复杂度分为时间复杂度和空间复杂度 时间复杂度表示为函数运行的次数,分为O(1),O(N),O(N^2),O(logN),O(2^N)大概几种 比如:a=1表示为O(1) for i in range(n): print(n) 为O(N) 2、hashmap的概念 散列表(Hash 阅读全文
posted @ 2020-08-05 15:12 taomin 阅读(357) 评论(0) 推荐(0) 编辑