Hogyan írjuk helyesen: nem tudja vagy nemtudja?

nem tudja.

A magyar helyesírás szabályai szerint így írjuk helyesen ezt a szót: nem tudja.