Index Of 2 States Repack -

: In 2D solids, the density of states is constant with respect to energy, unlike in 3D solids where it is proportional to the square root of energy.

Given two arrays (or two configurations of the same array) representing “states” of a system, find the index/indices where the value 2 occurs in each state. index of 2 states