Set 1 

Hello, please check my results .
Ex 1 should be O(n), 
Ex 2 O(n^2)
Ex 3 O(n^3).

Thank you.
Best.
Cristina
Same thing here. Using return true will speed up the method.