pearcej / cppds

Problem Solving with Algorithms and Data Structures using C++
Other
11 stars 76 forks source link

Big O seems to be missing something #173

Open Bryar-Frank opened 3 years ago

Bryar-Frank commented 3 years ago

In the self check, you state " Write two C++ functions to find the minimum number in an array. The first function should compare each number to every other number on the array. O(n2)O(n2). The second function should be linear O(n)O(n)." Do they have to write the program? The questions Q-4 and Q-5 do not seem to have anything to do with O(n^2) and O(n).

verony1075 commented 1 month ago

working on this