Intro to Python for Computer Science and Data Science: Learning to Program with AI, Big Data and The Cloud
by Paul J. Deitel, Harvey M. Deitel
Long description
The table lists the n equals values, followed by the O log n, O n, O n log n, and O n squared. The rows read as follows. Row 1, n = 1, O log n = 0, O n = 1, O n log n = 0, O n squared = 1. Row 2, n = 2, O log n = 1, O n = 2, O n log n = 2, O n squared = 4. Row 3, n = 3, O log n = 1, O n = 3, O n log n = 3, O n squared = 9. Row 4, n = 4, O log n = 1, O n = 4, O n log n = 4, O n squared = 16. Row 5, n = 5, O log n = 1, O n = 5, O n log n = 5, O n squared = 25. Row 6, n = 10, O log n = 1, O n = 10, O n log n = 10, O n squared = 100. Row 7, n = 100, O log n = 2, O n = 100, O n log n = 200, O n squared = 10,000. Row 8, n = 1000, O log n = 3, O n = 1000, O n log n = 3000, O n squared = 10 to the sixth power. Row 9, n = 1,000,000, O ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access