i
Flipkart
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Company Website and was interviewed before Jul 2020. There were 4 interview rounds.
Find all contiguous subarrays in an array with sum equal to zero.
Use a hash table to store the sum of subarrays and their ending index.
Traverse the array and calculate the sum of subarrays.
If the sum is zero or already exists in the hash table, print the subarray.
Time complexity: O(n), Space complexity: O(n).
posted on 4 Sep 2023
I applied via Referral and was interviewed in Aug 2023. There were 3 interview rounds.
Very knowledgable and it’s really very informative
Find all contiguous subarrays in an array with sum equal to zero.
Use a hash table to store the sum of subarrays and their ending index.
Traverse the array and calculate the sum of subarrays.
If the sum is zero or already exists in the hash table, print the subarray.
Time complexity: O(n), Space complexity: O(n).
Senior Executive
2.8k
salaries
| ₹2 L/yr - ₹9 L/yr |
Operations Executive
1.8k
salaries
| ₹1.2 L/yr - ₹6.5 L/yr |
Team Lead
1.8k
salaries
| ₹1.2 L/yr - ₹9.8 L/yr |
Assistant Manager
1.6k
salaries
| ₹6 L/yr - ₹21 L/yr |
Executive
1.4k
salaries
| ₹1.2 L/yr - ₹6.5 L/yr |
Amazon
Myntra
Snapdeal
Meesho