What is the big Oh of the following code snippet?
for(int i = 0; i < n; i++){ for(int j = 0; j < n; j++){ if(favorites[j] == i){ return favorites[j]; } } }
There are no hints for this question