Applies the Aufbau building-up principle, Pauli exclusion principle, and Hunds rule of maximum multiplicity to allocate electrons into s, p, d, and f subshells.