Stockholders' Equity, Comprehensive Income and Share-Based Compensation - Stock Repurchase Program (Details) - USD ($) $ / shares in Units, shares in Millions, $ in Millions |
3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
Apr. 26, 2026 |
Apr. 27, 2025 |
Apr. 26, 2026 |
Apr. 27, 2025 |
|
| Equity [Abstract] | ||||
| Shares of common stock repurchases (in shares) | 1 | 11 | 2 | 19 |
| Cost of stock repurchased (including excise tax) | $ 400 | $ 1,685 | $ 737 | $ 2,999 |
| Average price paid per share (including excise tax) (in dollars per share) | $ 352.63 | $ 148.88 | $ 302.69 | $ 159.77 |
| Cost of stock repurchased (excluding excise tax) | $ 400 | $ 1,670 | $ 737 | $ 2,975 |
| Average price paid per share (excluding excise tax) (in dollars per share) | $ 352.63 | $ 147.59 | $ 302.69 | $ 158.47 |