zlacker

[parent] [thread] 0 comments
1. slavik+(OP)[view] [source] 2019-11-11 19:46:47
When N is fixed, all algorithms become O(1). That's why they appear the same.

If you do these calculations by hand, the complexity will be more obvious because each operation will be smaller.

[go to top]