XML 47 R37.htm IDEA: XBRL DOCUMENT v3.22.1
SHORT-TERM AND LONG-TERM INVESTMENTS (Tables)
6 Months Ended
Apr. 30, 2022
Investments, Debt and Equity Securities [Abstract]  
Schedule of Short-Term and Long-Term Investments As of the dates indicated, investments are comprised of the following (in thousands):
 April 30, 2022
Amortized CostGross Unrealized
Gains
Gross Unrealized
Losses
Estimated Fair
Value
U.S. government obligations:
Included in short-term investments$530,051 $$(500)$529,552 
Included in long-term investments89,593 — (2,451)87,142 
$619,644 $$(2,951)$616,694 

 October 30, 2021
Amortized CostGross Unrealized
Gains
Gross Unrealized
Losses
Estimated Fair
Value
U.S. government obligations:
Included in short-term investments$181,488 $$(10)$181,483 
Included in long-term investments70,225 — (187)70,038 
$251,713 $$(197)$251,521 
Schedule of Legal Maturities of Debt Investments The following table summarizes the final legal maturities of debt investments as of April 30, 2022 (in thousands):
Amortized
Cost
Estimated
Fair Value
Less than one year$530,051 $529,552 
Due in 1-2 years89,593 87,142 
 $619,644 $616,694