The time complexity of Python sum() depends on your data structure. For a flat list, dict you cannot do better than O(n) because you have to ...
確定! 回上一頁