Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
shloub
on Sept 19, 2014
|
parent
|
context
|
favorite
| on:
Big O Notation: Using not-boring math to measure c...
Says it studies the complexity wrt the size of the input but doesn't say the size of n is O(log n) when it comes to the example :(
gameguy43
on Sept 20, 2014
[–]
Hm, sounds like a bug. Which example are you referring to?
jackpirate
on Sept 20, 2014
|
parent
[–]
The size of an integer n is O(log n).
gameguy43
on Sept 20, 2014
|
root
|
parent
[–]
Ah, gotcha. I'll patch that up. Thanks!
shloub
on Sept 20, 2014
|
root
|
parent
[–]
I was referring to the print s*n example (O(n) being exponential wrt the size of the input). You're welcome ;)
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: