Given the order e=[1s, 2s, 2p, 3s, 3p, 4s, 3d, 4p, 5s, 4d, 5p, 6s, 4f, 5d, 6p, 7s, 5f, 6d, 7p], find a vector x with these conditions:
For example, if sumofx=3 then x=[2 1]. Return x embedded in e in the following style: electrons='1s2,2s1'. Please see more info: Aufbau Principle, Electron Shell.
should not sumofx be 6 for test 2?
yes, corrected, thanks
Find the sum of all the numbers of the input vector
25644 Solvers
1046 Solvers
2278 Solvers
337 Solvers
469 Solvers