With these questions you're basically trying to classify these algorithms by their complexity given a word problem.
First you need to determine what algorithm is going to be used to solve these problems.
Assuming you can clear 1 sqr feet of snow per minute. The only variable is the amount of snow. This depends on the size of the surface.
If your surface is 1 sqr feet it takes you 1 minute.
If your surface is 2 sqr feet it takes you 2 minutes.
If your surface is 500 sqr feet it takes you 500 minutes.
If your surface is n sqr feet it takes you n minutes.
and so on.
You can graph this with a line. (remember y = mx+b)
This is a linear function.
Use the table in the "Orders of common functions" section on the wiki page to get the big O for that if you don't already know it:
https://en.wikipedia.org/wiki/Big_O_notationIt is O(n)
Now to answer question 2 you need determine if or how the retrieval time of objects in a dictionary changes depending on the size of the dictionary. To do this you need to figure out an algorithm to find the word. Then see if that takes a constant, log, linear, exponential or some other time. Then You will know if it is O(1), O(log n ), O(n), O(n^2) etc.
This helps, but will not teach you how to solve this on your own:
https://www.bigocheatsheet.com/ I'll help more if u give this a stab. Someone else may just give you the 3 answers, but I figure you both need to learn this for a class?
edit: I was missing word.
This post was edited by waraholic on Aug 4 2019 10:54am