3 ms·Everything is O(1) when you have finite bounded input.by naniwaduni 7y agoEverything is O(1) when you have finite bounded input.