Filter interviews by
Kadane's Algorithm is used to find the maximum subarray sum in an array of integers.
Iterate through the array and keep track of the maximum sum ending at each index.
If the current element is greater than the sum ending at the previous index, start a new subarray.
Return the maximum sum found.
Example: For array [-2, 1, -3, 4, -1, 2, 1, -5, 4], the maximum subarray sum is 6 (from index 3 to 6).
Dutch National Algorithm is a sorting algorithm that partitions an array into three sections based on a pivot element.
Choose a pivot element
Partition the array into three sections: elements less than the pivot, elements equal to the pivot, and elements greater than the pivot
Recursively apply the algorithm to the subarrays
Top trending discussions
I applied via Campus Placement and was interviewed in Aug 2022. There were 2 interview rounds.
Duration: 1hr+
Topics: 2 - coding questions(logic-based)
platform: Hackerank
Find square root of a number using basic arithmetic operations without power operator and inbuilt libraries.
Use binary search to find the integer part of the square root
Use long division method to find the decimal part of the square root
Repeat the above steps until desired accuracy is achieved
Handle edge cases like negative numbers and numbers less than 1
I applied via LinkedIn and was interviewed before Aug 2023. There were 2 interview rounds.
Don;t remember the leetcode question, was medium
Don't remember the leetcode qyuestion, was medium, had a behavior component, remember the Amazon principles
I appeared for an interview in Feb 2025, where I was asked the following questions.
I faced a tight deadline for a project, which I managed through prioritization, teamwork, and effective communication.
Identified the project scope and key deliverables within the first day.
Created a timeline with milestones to track progress.
Delegated tasks based on team members' strengths, ensuring efficiency.
Held daily stand-up meetings to address challenges and keep everyone aligned.
Utilized project management tools...
I applied via Campus Placement and was interviewed in Jun 2022. There was 1 interview round.
Count occurrences of a given element in a sorted array.
Use binary search to find the first and last occurrence of the element.
Subtract the indices to get the count.
Handle edge cases like element not present in the array.
Find the deepest left node in a binary tree.
Traverse the tree recursively and keep track of the depth and whether the current node is a left node.
If the current node is a leaf node and its depth is greater than the deepest left node found so far, update the deepest left node.
Return the deepest left node found.
Example: For the binary tree with root node 1, left child 2, and left child of 2 being 4, the deepest left node...
Three questions were assigned to be solved within a two-hour timeframe.
The assessment consists of two multiple-choice question (MCQ) rounds, each lasting 15 minutes, and one essay writing task requiring 400 words to be completed within 25 minutes.
I applied via Campus Placement and was interviewed before Oct 2022. There were 4 interview rounds.
1 hour long test, 1 easy and 1 medium leetcode problem + some apti questions.
Find the next permutation of a given timestamp in HH:MM AM/PM format.
Convert the timestamp to a 24-hour format for easier manipulation.
Identify the rightmost pair where the earlier digit is smaller than the later one.
Swap this digit with the smallest larger digit to its right.
Reverse the digits to the right of the swapped position to get the next permutation.
Example: For '11:55 PM', the next permutation is '12:00 AM'.
I applied via AngelList and was interviewed before Nov 2021. There were 4 interview rounds.
2 coding question level easy-medium leetcode
OA + behavioural questions
It was a 2 hour test having 2 coding questions . Difficulty was easy and medium.
based on 1 interview experience
Software Developer
6
salaries
| ₹3.8 L/yr - ₹10 L/yr |
Business Development Executive
6
salaries
| ₹2.5 L/yr - ₹4 L/yr |
Software Development Engineer
5
salaries
| ₹7.5 L/yr - ₹12.9 L/yr |
Software Engineer
4
salaries
| ₹7.8 L/yr - ₹12.8 L/yr |
SDE
4
salaries
| ₹6 L/yr - ₹7 L/yr |
TCS
Accenture
Wipro
Cognizant