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
...In this method, Before we start let us define what is the right half (or right part) and what is left half (or left part) in the string. There can be two cases based on the length of the string:
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...
The basic idea is that try each and every possible subarray and find the sum of the current subarray and check if the current sum is 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...
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 idea is to use the binary search tree.
First of all, we will make a binary search tree say ‘BST’ from the given array ‘ARR’ after this we can use ‘BST’ to find the rank of ‘ARR[K]’.
Each node of ‘BST’ will store the data value and size of its left subtree.
Here is the complete algorithm:
Step 1- Making the ‘BST’ :
Let insert(TreeNode* <int> ROOT, int VAL) be a function whi...
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...
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.
The main idea is for every element to count the number of elements less than ARR[i] on its right using a loop.
Algorithm:
O(1)
&nbs...
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
Basic aptitude test with technical and non technical question
I applied via Referral and was interviewed in May 2024. There was 1 interview round.
Abstract class is a class that cannot be instantiated, while an interface is a blueprint of a class with only abstract methods.
Abstract class cannot be instantiated, but can have both abstract and non-abstract methods.
Interface can only have abstract methods and cannot have method implementations.
Method overloading is having multiple methods in the same class with the same name but different parameters.
Method overridin...
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
Find the most occurred letter in a given string.
Iterate through the string and count the occurrences of each letter
Store the counts in a map or array
Find the letter with the highest count
Design principle is a set of guidelines that help software developers create maintainable and scalable code.
Design principles help in creating code that is easy to understand, modify, and maintain.
Examples of design principles include SOLID principles, DRY (Don't Repeat Yourself), KISS (Keep It Simple, Stupid), and YAGNI (You Aren't Gonna Need It).
posted on 18 Oct 2023
I applied via Naukri.com and was interviewed in Apr 2023. There were 4 interview rounds.
I applied via Referral and was interviewed before Aug 2023. There was 1 interview round.
Long polling is a web technique where the client sends a request to the server and the server holds the connection open until new data is available.
Long polling is a variation of the traditional polling technique where the client sends a request to the server and the server keeps the connection open until new data is available.
It is often used in web applications to simulate real-time updates without the need for const...
GraphQL is a query language for APIs that allows clients to request only the data they need, while REST is an architectural style for designing networked applications.
GraphQL allows clients to request specific data in a single request, reducing over-fetching and under-fetching of data.
REST uses multiple endpoints for different resources, leading to multiple requests for related data.
GraphQL provides a strongly typed sc...
Synonyms,math, opposite words english, reasoning,
Oops, table,star,inverse,array, method overloading, overriding
posted on 3 Nov 2021
I applied via Naukri.com and was interviewed in May 2021. There were 4 interview rounds.
Production Analyst
128
salaries
| ₹10 L/yr - ₹21 L/yr |
Product Manager
98
salaries
| ₹18 L/yr - ₹41 L/yr |
Product Engineer
88
salaries
| ₹24 L/yr - ₹40 L/yr |
Implementation Consultant
87
salaries
| ₹12 L/yr - ₹17.9 L/yr |
Senior Product Analyst
78
salaries
| ₹10 L/yr - ₹28 L/yr |
Freshworks
Zoho
HCLTech
TCS