Condensed Consolidated Statement of Stockholders' Equity - USD ($)
shares in Millions, $ in Millions
Total
Preferred Stock
Common Stock
Additional Paid-in Capital
Retained Earnings
Accumulated Other Comprehensive Loss
Shares, Outstanding, Beginning Balance at Nov. 01, 2020   4 407      
Beginning Balance at Nov. 01, 2020 $ 23,874 $ 0 $ 0 $ 23,982 $ 0 $ (108)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Net income 1,378       1,378  
Other comprehensive income (loss), net of tax 1         1
Adjustments to additional paid in capital, Dividends in excess of retained earnings       (164)    
Dividends to common stockholders (1,468)       (1,304)  
Dividends to preferred stockholders (74)       (74)  
Common stock issued, Shares     2      
Common stock issued, Value 35   $ 0 35    
Stock-based compensation 444     444    
Shares repurchased for tax withholdings upon vesting of equity awards, Shares     (1)      
Shares repurchased for tax withholdings upon vesting of equity awards, Value (217)   $ 0 (217)    
Shares, Outstanding, Ending Balance at Jan. 31, 2021   4 408      
Ending Balance at Jan. 31, 2021 23,973 $ 0 $ 0 24,080 0 (107)
Shares, Outstanding, Beginning Balance at Oct. 31, 2021   4 413      
Beginning Balance at Oct. 31, 2021 24,962 $ 0 $ 0 24,330 748 (116)
Increase (Decrease) in Stockholders' Equity [Roll Forward]            
Net income 2,472       2,472  
Other comprehensive income (loss), net of tax 1         1
Dividends to common stockholders (1,689)       (1,689)  
Dividends to preferred stockholders (74)       (74)  
Common stock issued, Shares     2      
Common stock issued, Value 1   $ 0 1    
Stock-based compensation 387     387    
Repurchases of common stock, Shares     (4)      
Repurchases of common stock , Value (2,724)   $ 0 (1,267) (1,457)  
Shares repurchased for tax withholdings upon vesting of equity awards, Shares     (1)      
Shares repurchased for tax withholdings upon vesting of equity awards, Value (368)   $ 0 (368)    
Shares, Outstanding, Ending Balance at Jan. 30, 2022   4 410      
Ending Balance at Jan. 30, 2022 $ 22,968 $ 0 $ 0 $ 23,083 $ 0 $ (115)