Stock Repurchase Program - Stock Repurchase Activities (Detail) - USD ($) shares in Thousands, $ in Thousands |
3 Months Ended | 9 Months Ended | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Jul. 31, 2020 |
Jul. 31, 2019 |
[1] | Jul. 31, 2020 |
[2] | Jul. 31, 2019 |
[1],[3] | |||||||
| Stock Repurchase Program [Abstract] | |||||||||||||
| Purchases of treasury stock (in shares) | 149 | 775 | 1,380 | 1,901 | |||||||||
| Aggregate purchased shares | $ 20,000 | $ 100,000 | $ 200,000 | $ 209,185 | |||||||||
| Reissuance of treasury stock | 999 | 1,166 | 2,807 | 3,009 | |||||||||
| |||||||||||||