Filter interviews by
I applied via LinkedIn and was interviewed in Jan 2024.
Top trending discussions
I applied via Campus Placement and was interviewed in Jun 2024.
This round has 3 coding questions mostly based on graph and trees
I applied via LinkedIn and was interviewed in Jul 2024.
Leetcode style of coding
I applied via campus placement at Vellore Institute of Technology (VIT) and was interviewed in Sep 2023.
Easy questions but less time
2 easy and 1 hard leet code
I applied via LinkedIn and was interviewed in Aug 2023.
2 medium level and 1 hard question from dsa
I applied via Approached by Company and was interviewed in Jun 2024.
I applied via LinkedIn and was interviewed before Sep 2023.
Basic dsa level 1 can be prepared from toutube
Take home assignment can be done easily
I applied via Campus Placement
Had to solve 50 questions in 12 minutes. Questions were very easy, only headache was to attempt as many as you could in 12 minutes. .
Had questions regarding core subjects in the multiple choice section in the 1st section of this round. In the section 2nd of this round you had 3 questions of data structures (2 easy and 1 of moderate difficulty level).
I applied via campus placement at Indian Institute of Logistics, Chennai and was interviewed in Sep 2023.
152. Maximum Product Subarray
Medium
17.6K
552
Companies
Given an integer array nums, find a
subarray
that has the largest product, and return the product.
The test cases are generated so that the answer will fit in a 32-bit integer.
Example 1:
Input: nums = [2,3,-2,4]
Output: 6
Explanation: [2,3] has the largest product 6.
Example 2:
Input: nums = [-2,0,-1]
Output: 0
Explanation: The result cannot be 2, because [-2,-1] is not a subarray.
Constraints:
1 <= nums.length <= 2 * 104
-10 <= nums[i] <= 10
The product of any prefix or suffix of nums is guaranteed to fit in a 32-bit integer.
Basic quants and advanced quants
Product Manager
5
salaries
| ₹35 L/yr - ₹36.4 L/yr |
Data Analyst
4
salaries
| ₹5.8 L/yr - ₹7.5 L/yr |
Senior Business Analyst
4
salaries
| ₹16 L/yr - ₹16.5 L/yr |
Data Engineer
4
salaries
| ₹10 L/yr - ₹19 L/yr |
HR Consultant
4
salaries
| ₹3 L/yr - ₹8.6 L/yr |
Amazon Web Services
Microsoft Azure
IBM
Oracle