Fair Value Measurements - Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($) $ in Thousands | Apr. 30, 2022 | Oct. 31, 2021 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | $ 593,928 | $ 680,175 |
Total liabilities | 313,123 | 345,888 |
Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 297,703 | 343,820 |
Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 22,000 | 15,472 |
Accounts payable and accrued liabilities | 15,420 | 2,068 |
Cash equivalents | Money market funds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 127,321 | 172,934 |
Short-term investments | U.S. government agency & T-bills | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 14,759 | 6,442 |
Short-term investments | Municipal bonds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 3,026 | 4,576 |
Short-term investments | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 100,090 | 103,452 |
Short-term investments | Asset-backed securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 29,026 | 33,479 |
Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 297,706 | 343,820 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 425,027 | 516,754 |
Total liabilities | 297,703 | 343,820 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 297,703 | 343,820 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | | |
Accounts payable and accrued liabilities | | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Cash equivalents | Money market funds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 127,321 | 172,934 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | U.S. government agency & T-bills | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | Municipal bonds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Short-term investments | Asset-backed securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 297,706 | 343,820 |
Significant Other Observable Inputs (Level 2) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 168,901 | 163,421 |
Total liabilities | 15,420 | 2,068 |
Significant Other Observable Inputs (Level 2) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | | |
Significant Other Observable Inputs (Level 2) | Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 22,000 | 15,472 |
Accounts payable and accrued liabilities | 15,420 | 2,068 |
Significant Other Observable Inputs (Level 2) | Cash equivalents | Money market funds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | |
Significant Other Observable Inputs (Level 2) | Short-term investments | U.S. government agency & T-bills | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 14,759 | 6,442 |
Significant Other Observable Inputs (Level 2) | Short-term investments | Municipal bonds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 3,026 | 4,576 |
Significant Other Observable Inputs (Level 2) | Short-term investments | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 100,090 | 103,452 |
Significant Other Observable Inputs (Level 2) | Short-term investments | Asset-backed securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 29,026 | 33,479 |
Significant Other Observable Inputs (Level 2) | Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | | |
Significant Unobservable Inputs (Level 3) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 0 | 0 |
Total liabilities | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | | |
Significant Unobservable Inputs (Level 3) | Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | | |
Accounts payable and accrued liabilities | | |
Significant Unobservable Inputs (Level 3) | Cash equivalents | Money market funds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | |
Significant Unobservable Inputs (Level 3) | Short-term investments | U.S. government agency & T-bills | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Municipal bonds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Asset-backed securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | | |
Significant Unobservable Inputs (Level 3) | Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | | |