Straightening MDLL to DLL

What will be the TC ?? O(n) ??