Interest and Other Income (Loss), Net (Tables)
12 Months Ended
Oct. 31, 2015
Other Income and Expenses [Abstract]  
Schedule of Interest and Other Income (Loss)
The components of interest and other income (loss), net, were as follow (in thousands):
 
 
October 31,
 
 
2013
 
2014
 
2015
Interest income
 
$
550

 
$
407

 
$
1,178

Change in fair value of embedded derivative
 
2,950

 
(2,740
)
 
—

Gain (loss) on non-hedge designated foreign currency forward contracts
 
296

 
(5,757
)
 
23,243

Foreign currency exchange losses
 
(8,168
)
 
(15,663
)
 
(47,607
)
Other
 
(1,372
)
 
(1,509
)
 
(2,319
)
Interest and other income (loss), net
 
$
(5,744
)
 
$
(25,262
)
 
$
(25,505
)