v3.26.1
Restructuring and Other Charges - Schedule of Restructuring Activities by Plan (Details) - USD ($)
$ in Millions
9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Restructuring Reserve [Roll Forward]    
Accrued balance, beginning of the period $ 172 $ 138
Charges 222 252
Cash payments (226) (188)
Non-cash and other adjustments (15) (21)
Accrued balance, end of the period 153 181
Reflected in the Condensed Consolidated Balance Sheets    
Other current liabilities 117  
Other non-current liabilities 36  
Other prior-year plans    
Restructuring Reserve [Roll Forward]    
Accrued balance, beginning of the period 172 138
Charges (8) 252
Cash payments (122) (188)
Non-cash and other adjustments 2 (21)
Accrued balance, end of the period 44 181
Reflected in the Condensed Consolidated Balance Sheets    
Other current liabilities 41  
Other non-current liabilities 3  
Severance | Fiscal 2026 Plan    
Restructuring Reserve [Roll Forward]    
Accrued balance, beginning of the period 0 0
Charges 200 0
Cash payments (91) 0
Non-cash and other adjustments 0 0
Accrued balance, end of the period 109 0
Reflected in the Condensed Consolidated Balance Sheets    
Other current liabilities 76  
Other non-current liabilities 33  
Non-labor | Fiscal 2026 Plan    
Restructuring Reserve [Roll Forward]    
Accrued balance, beginning of the period 0 0
Charges 30 0
Cash payments (13) 0
Non-cash and other adjustments (17) 0
Accrued balance, end of the period 0 $ 0
Reflected in the Condensed Consolidated Balance Sheets    
Other current liabilities 0  
Other non-current liabilities $ 0