Income Taxes - Summary of Reconciliation of Beginning and Ending Balance of Gross Unrecognized Tax Benefit (Detail) - USD ($) $ in Thousands |
12 Months Ended | |
---|---|---|
Oct. 31, 2019 |
Oct. 31, 2018 |
|
Reconciliation of Unrecognized Tax Benefits [Roll Forward] | ||
Beginning balance | $ 131,019 | $ 91,637 |
Increases in unrecognized tax benefits related to prior year tax positions | 41,346 | 2,572 |
Decreases in unrecognized tax benefits related to prior year tax positions | (71,092) | (27,615) |
Increases in unrecognized tax benefits related to current year tax positions | 16,927 | 67,961 |
Decreases in unrecognized tax benefits related to settlements with taxing authorities | (1,624) | (175) |
Reductions in unrecognized tax benefits due to lapse of applicable statute of limitations | (964) | (8,828) |
Increases in unrecognized tax benefits acquired | 0 | 7,886 |
Changes in unrecognized tax benefits due to foreign currency translation | 600 | (2,419) |
Ending Balance | $ 116,212 | $ 131,019 |