v3.26.1
Financial Assets and Liabilities - Additional Information (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Jul. 31, 2026
Jul. 31, 2025
Apr. 30, 2025
Jan. 31, 2025
Jul. 31, 2026
Jul. 31, 2025
Apr. 30, 2026
Oct. 31, 2025
Oct. 31, 2024
Financial Assets and Liabilities [Line Items]                  
Impairment of non-marketable equity securities $ 0 $ 0     $ 0 $ 0      
Gains (losses) related to discontinuation of cash flow hedges         0 0      
Total stockholders’ equity (31,151,379) $ (27,614,186) $ (9,915,605)   $ (31,151,379) $ (27,614,186) $ (30,477,065) $ (28,327,015) $ (8,993,206)
Foreign exchange contracts                  
Financial Assets and Liabilities [Line Items]                  
Shipments period using hedges (in months)         1 month        
Derivative maturity period         30 months        
Total gross notional amounts 1,558,165       $ 1,558,165     $ 1,587,863  
Foreign exchange contracts | Cash Flow Hedges                  
Financial Assets and Liabilities [Line Items]                  
Derivative maturity period         30 months        
Derivative, exposure period         3 years        
Period for hedge balance in OCI to be reclassified to statement of operations (in months)         12 months        
Interest rate contracts | Cash Flow Hedges                  
Financial Assets and Liabilities [Line Items]                  
Derivative maturity period       6 months          
Total gross notional amounts       $ 2,000,000          
Debt instrument, term     5 years 6 months            
Implied interest rate     3.45%            
Interest rate contract settled                  
Financial Assets and Liabilities [Line Items]                  
Loss recorded in OCI     $ 121,600            
Expected unrealized loss to be amortized to interest expense over the next twelve months 7,000       $ 7,000        
Interest rate contract settled | Unrealized gains (losses) on derivative instruments, net of tax                  
Financial Assets and Liabilities [Line Items]                  
Total stockholders’ equity $ 111,800       $ 111,800        
Foreign Exchange Forward, Hedge of Non-Functional Currency | Fair values of derivative instruments not designated as hedging instruments                  
Financial Assets and Liabilities [Line Items]                  
Forward contracts terms (in months)         1 month        
Foreign Exchange Forward, Hedge of Non-Functional Currency | Fair values of derivative instruments not designated as hedging instruments                  
Financial Assets and Liabilities [Line Items]                  
Non-designated foreign exchange forward contract remaining maturity 1 year       1 year