Page 1 of 1

Help with a CS question - What is the big theta of the following two pieces of code and why? Why would you prefer to use

Posted: Fri Jul 01, 2022 5:47 am
by answerhappygod
Help with a CS question -
What is the big theta of the following two pieces of code and why? Why would you prefer to use the dict method (1) instead of the list method (2)? Why would you prefer to use the list method (2) over the dict method (1):
1)
2)