Financial Assets and Liabilities - Schedule of Cash, Cash Equivalents and Restricted Cash (Details) - USD ($) $ in Thousands |
Jul. 31, 2020 |
Oct. 31, 2019 |
Jul. 31, 2019 |
Oct. 31, 2018 |
|||
|---|---|---|---|---|---|---|---|
| Cash and Cash Equivalents [Line Items] | |||||||
| Cash and cash equivalents | $ 1,049,922 | $ 728,597 | [1] | ||||
| Total cash, cash equivalents and restricted cash | 1,051,988 | 730,527 | $ 688,681 | $ 725,001 | |||
| Restricted cash included in Prepaid expenses and other current assets | |||||||
| Cash and Cash Equivalents [Line Items] | |||||||
| Restricted cash | 1,287 | 1,174 | |||||
| Restricted cash included in Other long-term assets | |||||||
| Cash and Cash Equivalents [Line Items] | |||||||
| Restricted cash | $ 779 | $ 756 | |||||
| |||||||