Jump to content

Algorithms/Computer Science

Featured Replies

Hey, Im learning about algorithms in class and had a few problems which were given to us. Im not sure if im doing them right and so im posting them along with the answers that I have to them and a few that I dont. Any sort of guidance would be appreciated. Thank you

 

3LaZi.png

 

Here are the answers that I have for them. They are all big-theta of

 

a) (logn logn)

 

b) Need Help

 

c) (logn)

 

d) Need Help

e) (1)

 

f) (n^0.7)

 

g) (logn + n^ 0.2)

 

h) (n)

 

i) (logn)

 

j) (logn)

 

k) (nlogn)

 

l) (n^2)

(b) n

 

(d) n2

(j) loglogn

Just my thinking, maybe it is not right, i need to go over my text book.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.