How to solve atomic structure problems