Common solution:
A circular building has seven windows - A, B, C, D, E, F and G, but not necessarily in the same order.
Window D is adjacent to windows A and G.
There is one window between window F and window G.

There are three windows between window B and window C.
Neither window C nor window E is adjacent to window A.

Not more than two windows are between windows D and F, when counted in the clockwise direction from window D.
Thus, case 2 is invalid.
Therefore, the final arrangement is:

None of the windows are there between window F and window E, when counted in the clockwise direction from window F.
Five windows are there between window F and window E, when counted in the anticlockwise direction from window F.