Fair Value Measurements - Assets and Liabilities Measured at Fair Value on Recurring Basis (Detail) - Fair Value, Measurements, Recurring - USD ($) $ in Thousands | Jan. 31, 2023 | Oct. 31, 2022 |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | $ 519,158 | $ 507,230 |
Total liabilities | 330,478 | 331,714 |
Deferred compensation plan liabilities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term liabilities | 313,844 | 279,096 |
Foreign currency derivative contracts | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Prepaid and other current assets | 12,897 | 2,538 |
Accounts payable and accrued liabilities | 16,634 | 52,618 |
Cash equivalents | Money market funds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Cash equivalents | 45,367 | 77,683 |
Short-term investments | U.S. government agency & T-bills | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 24,748 | 25,603 |
Short-term investments | Municipal bonds | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 2,639 | 2,878 |
Short-term investments | Corporate debt securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 92,384 | 94,024 |
Short-term investments | Asset-backed securities | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 27,279 | 25,408 |
Deferred compensation plan assets | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Other long-term assets | 313,844 | 279,096 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 359,211 | 356,779 |
Total liabilities | 313,844 | 279,096 |
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 | 313,844 | 279,096 |
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 | 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 | 45,367 | 77,683 |
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 | 0 | 0 |
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 | 0 | 0 |
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 | 0 | 0 |
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 | 0 | 0 |
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 | 313,844 | 279,096 |
Significant Other Observable Inputs (Level 2) | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Total assets | 159,947 | 150,451 |
Total liabilities | 16,634 | 52,618 |
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 | 12,897 | 2,538 |
Accounts payable and accrued liabilities | 16,634 | 52,618 |
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) | Short-term investments | U.S. government agency & T-bills | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 24,748 | 25,603 |
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,639 | 2,878 |
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 | 92,384 | 94,024 |
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 | 27,279 | 25,408 |
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) | Short-term investments | U.S. government agency & T-bills | | |
Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items] | | |
Short-term investments | 0 | 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 | 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 | 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 | 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 |