1. In each row, four items are given: function to which runtime is proportional, original input size, original runtime, new input size. You'll fill in the expected new runtime. Refer to Runtime Rules...


1. In each row, four items are given: function to which runtime is proportional, original input size, original<br>runtime, new input size. You'll fill in the expected new runtime. Refer to Runtime Rules of Thumb to<br>figure out the answers.<br>Original<br>Runtime<br>Original<br>Runtime<br>New Input Size<br>New Runtime in ms<br>proportional to input size<br>in ms<br>logn<br>1,000<br>4<br>1,000,000<br>nlogn<br>20<br>4<br>400<br>n<br>1,000,000<br>2,000,000<br>4<br>n<br>3,000,000<br>9,000,000<br>4<br>3,000,000<br>4<br>6,000,000<br>1000<br>4<br>4000<br>20<br>4<br>180<br>12,000<br>4<br>36,000<br>1<br>1,000<br>4.<br>1,000,000<br>2<br>100<br>4<br>101<br>n!<br>100<br>4.<br>101<br>n

Extracted text: 1. In each row, four items are given: function to which runtime is proportional, original input size, original runtime, new input size. You'll fill in the expected new runtime. Refer to Runtime Rules of Thumb to figure out the answers. Original Runtime Original Runtime New Input Size New Runtime in ms proportional to input size in ms logn 1,000 4 1,000,000 nlogn 20 4 400 n 1,000,000 2,000,000 4 n 3,000,000 9,000,000 4 3,000,000 4 6,000,000 1000 4 4000 20 4 180 12,000 4 36,000 1 1,000 4. 1,000,000 2 100 4 101 n! 100 4. 101 n" 100 101 4,

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here