Fair Value Measures - Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($) $ in Thousands | Jul. 31, 2021 | Oct. 31, 2020 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | $ 744,953 | $ 583,184 |
Total liabilities | 336,314 | 272,117 |
Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 336,001 | 269,737 |
Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 11,657 | 9,320 |
Accounts payable and accrued liabilities | 313 | 2,380 |
Cash equivalents | Money market funds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 249,814 | 304,127 |
Cash equivalents | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 3,079 | |
Short-term investments | U.S. government agency & T-bills | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 7,747 | |
Short-term investments | Municipal bonds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 2,466 | |
Short-term investments | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 100,318 | |
Short-term investments | Asset-backed securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 33,505 | |
Short-term investments | Others | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 737 | |
Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 335,630 | 269,737 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 585,444 | 573,864 |
Total liabilities | 336,001 | 269,737 |
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 | 336,001 | 269,737 |
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 | | 0 |
Accounts payable and accrued liabilities | 0 | 0 |
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 | 249,814 | 304,127 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Cash equivalents | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | | |
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) | Short-term investments | Others | | |
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 | 335,630 | 269,737 |
Significant Other Observable Inputs (Level 2) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 159,509 | 9,320 |
Total liabilities | 313 | 2,380 |
Significant Other Observable Inputs (Level 2) | Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 0 | 0 |
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 | 11,657 | 9,320 |
Accounts payable and accrued liabilities | 313 | 2,380 |
Significant Other Observable Inputs (Level 2) | Cash equivalents | Money market funds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Other Observable Inputs (Level 2) | Cash equivalents | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 3,079 | |
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 | 7,747 | |
Significant Other Observable Inputs (Level 2) | Short-term investments | Municipal bonds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 2,466 | |
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,318 | |
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 | 33,505 | |
Significant Other Observable Inputs (Level 2) | Short-term investments | Others | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 737 | |
Significant Other Observable Inputs (Level 2) | Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 0 | 0 |
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 | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 0 | 0 |
Accounts payable and accrued liabilities | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Cash equivalents | Money market funds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | 0 |
Significant Unobservable Inputs (Level 3) | Cash equivalents | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 0 | |
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 | 0 | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Municipal bonds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Asset-backed securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | |
Significant Unobservable Inputs (Level 3) | Short-term investments | Others | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | |
Significant Unobservable Inputs (Level 3) | Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | $ 0 | $ 0 |