- 1

Array

given an array, arr[] of integer numbers have size n. the task is to find out single or consecutive numbers from arr[] with 0 sum. when found, print "1" otherwise "0".​

30th Aug 2021, 5:07 PM
Nidhi Prabhakar Shetty
3 Answers
+ 1
That sounds like a challenge. If you need help, please share the challenge and your attempt
30th Aug 2021, 5:38 PM
Brain & Bones
Brain & Bones - avatar
0
Your question seem to be easy you have already used array means u know concepts of array and how to access elements from array just use for loop and inside loop use if else statements
30th Aug 2021, 6:39 PM
A S Raghuvanshi
A S Raghuvanshi - avatar