Big O Notation

No.13528139 ViewReplyOriginalReport
Pic related is my homework exercise, I have to calculate the Big O of this code. Some of it is pretty easy, first line is obviously O(1), first for loop is O(N), but the third I don't get. I haven't seen a time complexity calculation of three for loops. Can someone help me out here?