The first loop with variable ‘i’ will run for ‘n’ times.
The second loop with variable ‘j’ will run for ‘$\log_{2} n$’ as ‘i’ will go upto n and j is multiplied by 2 i.e., it will be in terms of ‘n=$2^k$’.
The third loop with variable ‘k’ will run for ‘$\log_{2} n$’ as ‘k’ will go upto 1 by dividing itself by 2 i.e., it will be in terms of ‘n=n/2’.
therefore, TC = O(n$(\log_{2} n)^2$)