Consolidated Statements of Cash Flows - USD ($) $ in Thousands |
12 Months Ended |
Oct. 31, 2018 |
Oct. 31, 2017 |
Oct. 31, 2016 |
| Cash flows from operating activities: |
|
|
|
| Net income (loss) |
$ (344,690)
|
$ 1,261,953
|
$ 72,584
|
| Adjustments to reconcile net income (loss) to net cash provided by operating activities: |
|
|
|
| Loss on extinguishment of debt |
10,039
|
0
|
0
|
| Loss on fair value of debt conversion liability |
12,070
|
0
|
0
|
| Depreciation of equipment, building, furniture and fixtures, and amortization of leasehold improvements |
84,214
|
77,189
|
63,394
|
| Share-based compensation costs |
52,972
|
48,360
|
51,993
|
| Amortization of intangible assets |
25,806
|
45,713
|
78,298
|
| Deferred taxes |
463,631
|
(1,126,732)
|
(1,116)
|
| Provision for doubtful accounts |
2,700
|
18,221
|
1,701
|
| Provision for inventory excess and obsolescence |
30,615
|
35,459
|
33,713
|
| Provision for warranty |
20,992
|
7,965
|
15,483
|
| Other |
21,685
|
22,417
|
24,929
|
| Changes in assets and liabilities: |
|
|
|
| Accounts receivable |
(168,357)
|
(66,123)
|
(26,074)
|
| Inventories |
(27,445)
|
(91,567)
|
(53,000)
|
| Prepaid expenses and other |
(21,425)
|
(33,834)
|
30,047
|
| Accounts payable, accruals and other obligations |
85,798
|
33,897
|
7,153
|
| Deferred revenue |
(19,344)
|
1,964
|
(9,585)
|
| Net cash provided by operating activities |
229,261
|
234,882
|
289,520
|
| Cash flows used in investing activities: |
|
|
|
| Payments for equipment, furniture, fixtures and intellectual property |
(67,616)
|
(94,600)
|
(107,185)
|
| Restricted cash |
117
|
(54)
|
11
|
| Purchase of available for sale securities |
(286,824)
|
(299,038)
|
(365,191)
|
| Proceeds from maturities of available for sale securities |
410,109
|
335,075
|
230,612
|
| Purchase of cost method investment |
(1,767)
|
0
|
(4,000)
|
| Settlement of foreign currency forward contracts, net |
9,385
|
(2,810)
|
(18,506)
|
| Acquisition of businesses, net of cash acquired |
(82,670)
|
0
|
(32,000)
|
| Net cash used in investing activities |
(19,266)
|
(61,427)
|
(296,259)
|
| Cash flows from financing activities: |
|
|
|
| Proceeds from issuance of long-term debt, net |
305,125
|
0
|
248,750
|
| Payment of long-term debt |
(292,730)
|
(233,554)
|
(266,116)
|
| Payment for make-whole provision upon conversion of long-term debt |
(13,453)
|
0
|
0
|
| Payment for modification of term loans |
0
|
(93,625)
|
0
|
| Payment of debt issuance costs |
(1,936)
|
(722)
|
(3,987)
|
| Payment of capital lease obligations |
(3,624)
|
(3,562)
|
(5,966)
|
| Shares repurchased for tax withholdings on vesting of restricted stock units |
(4,757)
|
0
|
0
|
| Repurchases of common stock - repurchase program |
(110,981)
|
0
|
0
|
| Proceeds from issuance of common stock |
23,127
|
20,412
|
23,091
|
| Net cash used in financing activities |
(99,229)
|
(311,051)
|
(4,228)
|
| Effect of exchange rate changes on cash and cash equivalents |
(5,856)
|
494
|
(2,389)
|
| Net increase (decrease) in cash and cash equivalents |
104,910
|
(137,102)
|
(13,356)
|
| Cash and cash equivalents at beginning of fiscal year |
640,513
|
777,615
|
790,971
|
| Cash and cash equivalents at end of fiscal year |
745,423
|
640,513
|
777,615
|
| Supplemental disclosure of cash flow information |
|
|
|
| Cash paid during the fiscal year for interest |
44,750
|
47,235
|
46,897
|
| Cash paid during the fiscal year for income taxes, net |
26,900
|
22,136
|
15,268
|
| Non-cash investing and financing activities |
|
|
|
| Purchase of equipment in accounts payable |
5,118
|
6,214
|
15,030
|
| Construction in progress subject to build-to-suit lease |
0
|
0
|
39,914
|
| Contingent consideration for acquisition of business |
10,900
|
0
|
0
|
| 3.75% Convertible Senior Notes due October 15, 2018 |
|
|
|
| Non-cash investing and financing activities |
|
|
|
| Conversion of convertible senior notes |
61,270
|
0
|
0
|
| 4.0% Convertible Senior Notes due March 15, 2015 |
|
|
|
| Non-cash investing and financing activities |
|
|
|
| Conversion of convertible senior notes |
214,286
|
0
|
0
|
| Equipment |
|
|
|
| Non-cash investing and financing activities |
|
|
|
| Equipment acquired under and building subject to capital lease |
0
|
0
|
5,322
|
| Building |
|
|
|
| Non-cash investing and financing activities |
|
|
|
| Equipment acquired under and building subject to capital lease |
$ 0
|
$ 50,370
|
$ 8,993
|