Answer:
Hope this helps! :)
Step-by-step explanation:
The ground state electron configuration is the arrangement of electrons around the nucleus of an atom with lower energy levels. Electrons occupying the orbitals of varying energy levels naturally fall towards the lowest energy state or ground state. For example, the ground state electron configuration of oxygen is 1s2 2s2 2p4
(But to simplify it, A short hand notation to indicate the electron orbitals which are filled in a particular atom.)
The diagonal rule basically says that electrons fill orbitals in order of increasing "quantum number sum" (n + ℓ). When two orbitals share the same "quantum number sum", they will be filled in order of increasing n.