STOCKHOLDERS' EQUITY - Stock Repurchase Program (Details) - USD ($) shares in Millions, $ in Millions |
3 Months Ended | 6 Months Ended | ||||
|---|---|---|---|---|---|---|
Nov. 22, 2013 |
Apr. 30, 2016 |
Apr. 30, 2015 |
Apr. 30, 2016 |
Apr. 30, 2015 |
May. 28, 2015 |
|
| Share repurchase program | ||||||
| Cost to repurchases shares of common stock under share repurchase program | $ 294 | $ 168 | ||||
| 2014 Share Repurchase Program | ||||||
| Share repurchase program | ||||||
| Share repurchase program authorized amount | $ 1,000 | |||||
| Maintain weighted average diluted shares count (in shares) | 335.0 | |||||
| Cost to repurchases shares of common stock under share repurchase program | $ 168 | $ 98 | ||||
| Number of shares repurchased (in shares) | 4.0 | 2.4 | ||||
| 2015 Repurchase Program | ||||||
| Share repurchase program | ||||||
| Share repurchase program authorized amount | $ 1,140 | |||||
| Cost to repurchases shares of common stock under share repurchase program | $ 94 | $ 196 | ||||
| Number of shares repurchased (in shares) | 2.6 | 5.1 | ||||
| Remaining authorized repurchase amount under share repurchase program | $ 944 | $ 944 | ||||