Use state analysis to find a good upper bound for the worst-…
Use state analysis to find a good upper bound for the worst-case time-complexity of the method you wrote in the question above. Note that we are NOT asking the asymptotic time-complexity. Show all work for the four steps.