NCS interview question

SubArray Sum mostly java/j2ee question