v3.26.1
Lease (Details) - USD ($)
$ in Millions
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Leases [Abstract]        
Operating lease cost $ 16 $ 15 $ 50 $ 45
Variable lease cost $ 6 $ 4 18 14
Cash payment for operating leases     50 42
Right-of-use assets obtained in exchange for operating lease obligations     $ 28 $ 23