Re:I cheated on my Microsoft interview (2019)
by zeroonetwothree on Sunday June 05, 2022 @10:39AM
(#31631381)
Every solution is at least O(n).
[ Parent
| on HN ]
Re:I cheated on my Microsoft interview (2019)
by TheRealNGenius on Sunday June 05, 2022 @04:43PM
(#31634639)
Wrong, calculating n(n-1)/2 is O(1)