3 ms·everything that terminates is O(1) when you upper-bound the input sizeby naniwaduni 7y agoeverything that terminates is O(1) when you upper-bound the input size