Income Taxes - Reconciliation of Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Oct. 31, 2015
Oct. 31, 2014
Oct. 31, 2013
Reconciliation of the beginning and ending amount of unrecognized tax benefits, excluding interest and penalties      
Unrecognized tax benefits, beginning balance $ 15,100 $ 8,279 $ 11,052
Decrease related to positions taken in prior period     (3,925)
Increase related to positions taken in prior period 3,658 2,479  
Increase related to positions taken in current period 9,138 5,241 2,146
Reductions related to expiration of statute of limitations (360) (899) (994)
Unrecognized tax benefits, ending balance $ 27,536 $ 15,100 $ 8,279