∵z−1z−i is purely imaginary.
arg(z−1z−i)=2π+nπ;n∈I
Geometrically, the locus of z is the circle with end points of diameter is (1,0)&(0,1) and centre is (21,21).So the nearest point to (3,3) on the circle is A(1,1).

Minimum distance is AP=OP−OA
=32+32−12+12
=32−2
=22