Filter interviews by
I was interviewed in Sep 2021.
Round duration - 90 minutes
Round difficulty - Hard
Test was conducted on Hackerearth.
Test consist of 3 questions (1 medium strings related question + 1 hard digit dp question + 1 hard lazy segment tree question)
Given a string representation of a number 'S', determine the smallest palindrome that is strictly greater than this number 'N'.
3
2
99
3
123
4
4567
...The task is to find the smallest palindrome greater than a given number.
Iterate from the middle of the number and mirror the left side to form the palindrome.
Handle cases where the number is already a palindrome or has all 9s.
Consider odd and even length numbers separately.
Convert the string to integer for comparison and manipulation.
Given an array ARR
and an integer K
, your task is to count all subarrays whose sum is divisible by the given integer K
.
The first line of input contains an...
Count the number of subarrays in an array whose sum is divisible by a given integer K.
Iterate through the array and keep track of the running sum modulo K.
Use a hashmap to store the frequency of remainders.
For each prefix sum, check how many previous prefix sums have the same remainder.
Return the total count of subarrays with sum divisible by K.
Given an integer array ARR
of length N
where ARR[i] = (2*i + 1)
, determine the minimum number of operations required to make all the elements of ARR
equal. In a single...
The minimum number of operations required to make all elements of the given array equal.
The array is generated based on the formula ARR[i] = (2*i + 1).
To equalize the array, increment one element and decrement another in each operation.
The number of operations needed is equal to the difference between the maximum and minimum elements in the array.
Round duration - 90 Minutes
Round difficulty - Medium
Timing : 8:00 am - 9:30 am
The interview took place on google meet. The interviewer gave 1 coding question on google docs and have to write the code on google doc itself.
After 45 minutes a second interviewer came in the same meeting and he also gave a coding question in the same google doc.
Given an array of integers ARR
and an integer K
, determine the rank of the element ARR[K]
.
The rank of any element in ARR
is defined as the number of elem...
The task is to determine the rank of a specific element in an array based on the number of smaller elements before it.
Iterate through the array up to index K and count the number of elements smaller than ARR[K].
Return the count as the rank of ARR[K].
Handle multiple test cases by repeating the process for each case.
Given two strings S
and T
with lengths N
and M
respectively, your task is to find the "Edit Distance" between these strings.
The Edit Distance is defined as the minimum nu...
The task is to find the minimum number of operations required to convert one string into another using delete, replace, and insert operations.
Use dynamic programming to solve the problem efficiently.
Create a 2D array to store the edit distances between substrings of the two input strings.
Fill up the array based on the minimum of three possible operations: insert, delete, or replace.
Return the value at the bottom right
Round duration - 60 Minutes
Round difficulty - Medium
Timing : 10:30 am - 11:30 am
The interview took place on google meet. The interviewer gave 1 coding question on google docs and have to write the code on google doc itself.
Given an array of size N
, return a count array such that COUNT[i]
equals the number of elements which are smaller than ARR[i]
on its right side.
Return an array where each element represents the count of smaller elements on its right side in the given array.
Iterate through the array from right to left and maintain a sorted list of elements encountered so far.
For each element, find its index in the sorted list to determine the count of smaller elements on its right side.
Use binary search or segment trees for efficient searching and updating of the sorted list.
Round duration - 15 Minutes
Round difficulty - Easy
Timing : 11:45am - 12:00 pm.
The interview took place on google meet.
Tip 1 : Practice data structures and algorithms daily.
Tip 2 : Do at least one project and be ready with any type of questions based on the project.
Tip 3 : Have a proper understanding of all the CS fundaments and OOPs concepts.
Tip 4 : If you have have learn basics of system design.
Tip 1 : Do not mention such skills in which you are not so confident.
Tip 2 : Have at least one project.
Tip 3 : Do not keep so much of empty spaces.
Tip 4 : Use hyperlinks to attach your programming accounts and project (if it is hosted somewhere or else github).
Top trending discussions
I applied via Naukri.com and was interviewed in Jun 2024. There were 4 interview rounds.
I applied via Company Website and was interviewed before Dec 2020. There were 4 interview rounds.
I applied via Newspaper Ad and was interviewed before Jun 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Apr 2021. There were 2 interview rounds.
I applied via Referral and was interviewed before Apr 2021. There were 2 interview rounds.
Puzzles, Psychometric Test
I applied via Company Website and was interviewed before Jun 2021. There were 2 interview rounds.
First round was coding as well as aptitude done together went well I guess focusing on codes helps a lot.
I was interviewed in Sep 2016.
I am a passionate software developer with experience in Java, Python, and web development.
Experienced in Java, Python, and web development technologies
Strong problem-solving skills and ability to work in a team
Completed multiple projects including a web-based inventory management system
I was interviewed in Jun 2016.
I was interviewed in May 2017.
Production Analyst
128
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Manager
99
salaries
| ₹0 L/yr - ₹0 L/yr |
Product Engineer
94
salaries
| ₹0 L/yr - ₹0 L/yr |
Implementation Consultant
91
salaries
| ₹0 L/yr - ₹0 L/yr |
Customer Success Manager
80
salaries
| ₹0 L/yr - ₹0 L/yr |
Freshworks
Zoho
HCLTech
TCS