C Sharp Loop Through Array Javascript Gfg Interview