You are on page 1of 1

07/04/2019 Problems - Wissen Software Developer Hiring Challenge.

Wissen Software Developer Hiring Challe…


02iam.jaykumawat@gmail.com
: 24 : 20 left Help  End Test
2 Questions Total Marks: 200.0 Question 2
Max. Marks 100.00 

2 Programming Questions
Finding the Subarrays

1. Directory Deletion + 100.0


You are given an array of
elements. You need to nd all
the subarrays such that their
2. Finding the Subarrays + 100.0
average sum is greater than the
average sum of the remaining
array elements. You need to
print the start and end index of
each subarray in sorted order
in a new line.
Notes: 

A subarray which starts


at  position and ends
at position  comes
before a subarray that
starts at  and ends at
 if  or if
 but
The array indexes are in
the range to .
The average sum of an
empty array is 0.

Input
The rst line contains an
integer that denotes the
total number of elements in the
array.
The next line contains space
separated integers that denote
the elements of the array .
?

https://www.hackerearth.com/challenges/hiring/wissen-software-devoloper-hiring-challenge/problems/8eddca2107114ab7847ec… 1/1

You might also like