Income Taxes - Domestic and Foreign Components of Total Income Before Provision for Income Tax (Detail) - USD ($) $ in Thousands |
12 Months Ended | ||
---|---|---|---|
Oct. 31, 2019 |
Oct. 31, 2018 |
Oct. 31, 2017 |
|
Income Tax Disclosure [Abstract] | |||
United States | $ 487,430 | $ (18,029) | $ (2,702) |
Foreign | 58,076 | 381,572 | 385,800 |
Income before income taxes | $ 545,506 | $ 363,543 | $ 383,098 |