on-internet
← Community

Algorithmic analysis

Stack Overflow ·

Why do we ignore size of numbers in a sequence when we derive time complexity for sorting algorithms ? Example : Why do we say that merge-sort has complexity of O(nlogn) instead of O(nlogn * max(sizeof number in sequence))

Comments

Sign in or sign up to comment and upvote.

No comments yet.