Right option is (d) 2N
The explanation is: In the first step of the ADI scheme, the Thomas algorithm is used N times to solve in the x-direction. Similarly, in the y-direction, again the Thomas algorithm is used N times to get the solutions. Totally, the Thomas algorithm is used 2N times.