The difficulty of a problem was defined________how long it took to complete.
by means of
in terms of
in connection with
by way of
B