Python-Interview-Bible icon indicating copy to clipboard operation
Python-Interview-Bible copied to clipboard

Python面试宝典2020版

Results 8 Python-Interview-Bible issues
Sort by recently updated
recently updated
newest added

感觉你的第4题的答案和解释不一致 最后打印出来的结果应该是 ```python True True True False True ```

![image](https://user-images.githubusercontent.com/38637799/157444368-aaa215e0-d169-416d-94fc-7d85d5df327f.png) 正确的名字是concurrent.futures

![image](https://user-images.githubusercontent.com/38637799/156927628-32ed0089-b244-4773-a473-24d074fdd983.png) 应该是线程间的通信非常容易实现

题目里提到的两个问题是不等价的 找零顺序是无关的,上台阶的走法要考虑走几格的顺序 比如change_money(5) 其实只有两种方法5, 2+3 上5格台阶的话 就有三种方法,5 = 2+3 = 3+2 permutation or combination

- [x] English version (Complete) - [x] GitHub flavored Markdown (README) + Original Chinese version still there - [x] Proper code formatting in MD + indentations - [x] Original links...

如果列表前置位有多个元素不断重复相互覆盖次数,导致这些元素对于结果没有影响,那么后续的判断中相当于减小了列表的长度,后置位中的新元素只要出现次数多于减小后列表的50%,就会被作为最终结果输出,但是这种情况下的结果明显是不合题意的。 比如输入[0, 1, 0, 1, 2, 2, 3],输出结果为2 (没学多久,说错了请见谅😂)

更新004题在不同版本python中出现的不同结果情况解释