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)
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
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am