I was trying to find time complexity of these 2 codes but i am not sure about my answers .
code1
int i = 1; int count = 0;