約18,500件1ページ目

日本語のみで絞り込む

2025/9/1 -Sets are "ordered" by a function that resembles a random number generator (it's called a hash function); its results are strictly defined but ...

2012/8/28 -AFAIK Python sets are implemented using a hash table. The order in which the items appear depends on the hash function used. Within the same run ...

2025/7/23 -A set is generally considered unordered. This means that the elements of a set do not have a guaranteed order. Unlike lists or arrays, ...

2023/7/5 -In a set, elements are not arranged in a random order but in ascending order of the hash value modulo the length of the list. How does a set ...

2021/11/9 -sets are unordered, meaning the elements do not have any predictable order, at all. When you print a set , or iterate through one, yes, the ...

2022/10/26 -By their very nature, Python lists have always been ordered; they can also be indexed like arrays. On the other hand, Python dicts started ...

2017/11/17 -An ordered set is only possible when the elements to be stored have an ordering (i.e. a comparison method) in the first place - but that is not ...

2026/6/3 -Python Set Order can break DFS, caching, and AI routes. Learn why sets are unordered and how dict keys restore deterministic traversal.

2023/10/19 -Python sets, like dictionaries, are unordered data structures. In the more recent Python versions, they are implemented to retain a certain ...

2022/2/16 -Sets in Python are unordered collections of unique elements. This means that the elements in a set are not stored in a particular order, and ...