First consider how many times the inner loop runs.This can be found as :
22^k = n [As j begins from 2 and ends at n in inner loop and each time j = j2]
==> 2k = log2n
==> k = log(logn)
So inner loop runs log(logn) times..
And i runs n times independent of j..And for each i , j runs log(logn) times..
Hence overall complexity = O(nloglogn)
Hence 3) is the correct answer..