The change in electronic configuration is depicted as follows:
How do electronic configurations of elements change in second period of periodic table with increase in atomic numbers?
How do electronic configurations of elements change in second period of periodic table with increase in atomic numbers?