Question: What is the big-O for this algorithm? for 1 to n for 1 to 2 n k 300 while k greater than 1 do k




What is the big-O for this algorithm? for 1 to n for 1 to 2 n k 300 while k greater than 1 do k k 3 Minteger division do something.... end end n 2 2 log (n) 200 n A2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
