Filter interviews by
I applied via Campus Placement and was interviewed in Jun 2024. There were 2 interview rounds.
This round has 3 coding questions mostly based on graph and trees
Design a data structure for locking/unlocking nodes in a binary tree efficiently.
Implement a lockable tree data structure with lock(), unlock(), and isLocked() methods.
Ensure a node can only be locked if all ancestors are unlocked and all descendants are locked.
Optimize the operations for efficiency.
Consider using a flag in each node to track its locked status.
Use a recursive approach to check locking conditions.
Mainta...
Improving the operating system can enhance performance and efficiency of the system.
Optimizing memory management to reduce overhead
Implementing better scheduling algorithms to improve multitasking
Enhancing file system performance for faster data access
Improving network stack for better communication speed
I applied via Approached by Company and was interviewed in Jun 2024. There was 1 interview round.
I applied via Campus Placement and was interviewed in Sep 2023. There were 3 interview rounds.
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
Top trending discussions
Coding and aptitude round
I appeared for an interview in Jan 2025.
Test was based on arrays and some dsa concepts.
posted on 15 May 2024
I applied via LinkedIn and was interviewed in Apr 2024. There was 1 interview round.
I applied via Company Website and was interviewed before Sep 2023. There were 2 interview rounds.
Abstraction,Encapsulation
I have a strong background in software testing, automation, and problem-solving skills.
I have extensive experience in writing test cases, executing test plans, and identifying bugs.
I am proficient in programming languages like Java, Python, and SQL, which are essential for automation testing.
I have a track record of improving testing processes and efficiency in previous roles.
I am a quick learner and adapt easily to ne...
In the next 5 years, I see myself growing into a senior SDET role, leading a team of engineers, and contributing to innovative testing strategies.
Continuing to enhance my technical skills in automation testing and software development
Taking on more leadership responsibilities within the testing team
Contributing to the development of new testing frameworks and strategies
Possibly pursuing certifications or advanced degre...
I appeared for an interview before May 2024, where I was asked the following questions.
I applied via Campus Placement and was interviewed in Sep 2024. There were 3 interview rounds.
2 Coding questions - medium to hard
Implement LFU cache using OOPs concepts
Create a class for LFU cache with methods like get, put, and remove
Use a hashmap to store key-value pairs and a hashmap to store frequency of each key
Implement a doubly linked list to store keys with the same frequency
I applied via Campus Placement and was interviewed in Jul 2023. There were 2 interview rounds.
Aptitude and 2 coding questions
based on 3 interview experiences
Difficulty level
Duration
Product Engineer
92
salaries
| ₹10 L/yr - ₹27 L/yr |
Software Engineer
75
salaries
| ₹8 L/yr - ₹30 L/yr |
Software Developer
72
salaries
| ₹10.6 L/yr - ₹31 L/yr |
Software Development Engineer
59
salaries
| ₹17 L/yr - ₹29.6 L/yr |
Product Manager
56
salaries
| ₹25.2 L/yr - ₹45 L/yr |
OneCard
Credgenics
PolicyX.com
Jodo