XML 74 R58.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
NET LOSS PER SHARE - Computation of Basic and Diluted Net Loss Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jan. 31, 2020
Oct. 31, 2019
Jan. 31, 2019
Oct. 31, 2018
Jan. 31, 2020
Jan. 31, 2019
Earnings Per Share [Abstract]            
Net loss $ (217,564) $ (229,300) $ (122,763) $ (94,265) $ (446,864) $ (217,028)
Weighted-average shares used in computing net loss per share attributable to common stockholders—basic and diluted (in shares) 192,727   179,445   191,199 177,428
Net loss per share attributable to common stockholders—basic and diluted (in dollars per share) $ (1.13)   $ (0.68)   $ (2.34) $ (1.22)