Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ext4 ファイルシステムを使用した os.path.exists 関数の複雑さが Python でどのようなものか知っている人はいますか?
複雑さがO(n)ファイルシステムの深さである可能性は十分にあります(たとえば、/はn = 1、/何かn = 2、...)
O(n)