为什么heapq.heapify在将列表的一个片段传递给列表时不更改列表?根据先前的answer Slicing lists does not generate copies of the objects in the list; it just copies the r ...2024-06-24 已阅读: n次