Filter interviews by
I was interviewed in Apr 2022.
Round duration - 60 Minutes
Round difficulty - Easy
1 ‘X’: Enqueue element ‘X’ into the end o...
In this approach, we will be implementing a circular queue using arrays. A circular queue has two key methods or purpose:
Round duration - 69 minutes
Round difficulty - Easy
Approach: We can start the traversal of the paths from the rat’s starting position, i.e. (0,0) keeping track of the visited cells during the traversal. We will recursively go through all the paths possible until the last index of the grid (destination) is reached, and add the path information using which the rat successfully reached the end.
Algorithm is as follows:
Round duration - 60 Minutes
Round difficulty - Easy
Difference between multithreading and multiprocessing
Tip 1 : Cover basics
Tip 2 : Try coding
Tip 3 : Do as much projects as you can
Tip 1 : be short and simple
Tip 2 : don't lie about projects
Top trending discussions
I was interviewed in Aug 2022.
Round duration - 60 minutes
Round difficulty - Medium
A problem solving round with 1 problem on DP. It was on a platform with a text editor provided. Was expected to solve the problem and write the code. Post initial discussion on the solution approaches came up with an optimized solution using Dynamic Programming and wrote the solution. Then some discussion on the Time and Space complexity of the solution.
Interviewer was satisfied with the solution and also dry ran with 1 test case.
Step 1 : Explained the brute force approach of checking all possible n digit number and incrementing a counter when it satisfies our condition.
Step 2 : Time complexity was exponential so interviewer asked to optimize it.
Step 3 : Came up with a recursive approach and told the recursive relation.
Step 4 : To further optimize, memorized the approach using 2-d DP and explained to interviewer.
Step 5 : Interviewer...
Round duration - 60 minutes
Round difficulty - Hard
This round happened on the same day after 1st round. It was a Low level design round with one problem to be solved in 60 minutes.
Design in memory file system with given necessary features to implement like: ls, cd, mkdir etc.
Tip 1 : Discuss with interviewer till you get clarified with problem.
Tip 2 : Think out aloud on the solution approaches and various trade offs.
Tip 3 : Try to use concepts of OOP like inheritance, polymorphism to follow SOLID and DRY principles.
Tip 4 : Always be open to feedback from interviewer on the design questions as they are mostly subjective.
Round duration - 60 minutes
Round difficulty - Medium
This round happened on the same day after 2nd round. The platform used was codility. It was a System design/ Low level design round with one problem to be solved in 60min.
Design LRU cache implementing various APIs like get(item), put(item), updateCache() etc.
Tip 1 : Discuss with interviewer till you get clarified with problem.
Tip 2 : Think out aloud on the solution approaches and various trade offs.
Tip 3 : Try to use concepts of OOP like inheritance, polymorphism to follow SOLID and DRY principles.
Tip 4 : Always be open to feedback from interviewer on the design questions as they are mostly subjective.
Round duration - 30 minutes
Round difficulty - Easy
It was an HR round with focus on the work ethics, culture and my prior experiences. The recruiter was trying to test my situation handling capability by asking different scenario based questions.
What are your previous work experiences?
Who is your role model?
How do you rate yourself on a scale of 1 to 10?
Tip 1 : Practice problems with consistency
Tip 2 : Learn and try to up solve
Tip 3 : Enjoy each problem and try different ways of solving it
Tip 4 : Brush up OOP concepts
Tip 5 : Practice hands on for Low level design by white board coding
Tip 1 : Have 1-2 good quality projects.
Tip 2 : Try to maintain 1 page resume.
Tip 3 : Put things which you have in depth knowledge about in resume.
React Context is a feature in React that allows data to be passed down the component tree without having to pass props manually.
Context provides a way to share values like themes, user data, etc. across the component tree.
It avoids prop drilling, where props are passed down multiple levels to reach a component that needs them.
Context consists of two parts: a Provider component that provides the data and a Consumer comp...
Closure is a function that has access to its parent scope, even after the parent function has closed.
Closure is created when a function is defined inside another function.
The inner function has access to the outer function's variables and parameters.
The outer function returns the inner function, which can be called later with the parent scope still accessible.
Closures are used for data privacy, event handlers, and call
Algorithm to convert roman numeral to numbers
Create a dictionary to map roman numerals to their corresponding values
Iterate through the roman numeral string from right to left
If the current value is less than the previous value, subtract it from the total
If the current value is greater than or equal to the previous value, add it to the total
Return the total
React context is a way to pass data through the component tree without having to pass props down manually at every level.
Context provides a way to share values like a theme or user data across the component tree.
It avoids prop drilling and makes the code cleaner and more maintainable.
Context consists of two parts: a Provider component that provides the data and a Consumer component that consumes the data.
Context can be...
There is no abstract class in JavaScript.
JavaScript does not have a built-in abstract class concept.
However, it is possible to create abstract classes using functions and prototypes.
Abstract classes are used as blueprints for other classes to inherit from.
They cannot be instantiated on their own and must be extended by a subclass.
Abstract methods can be defined in the abstract class and must be implemented in the subcl
Function overloading is when multiple functions have the same name but different parameters. Function overriding is when a subclass provides its own implementation of a method that is already present in the parent class.
Function overloading is used to provide multiple ways to call a function with different parameters.
Function overriding is used to provide a specific implementation of a method in a subclass.
Function ove...
Implement a counter in a React app
Create a state variable to hold the count
Render the count in the UI
Add buttons to increment and decrement the count
Update the state variable on button click
I was interviewed in Nov 2020.
Round duration - 60 minutes
Round difficulty - Easy
We will try to explore all the possibilities using the recursion.
Let’s say we have a recursive function ‘REC’ who has two arguments IDX and IDY where IDX represents the index in the text string and IDY represents the index in pattern string and its return type is boolean. Initially, we will call the rec with IDX = N and IDY = M where N is the size of the text string and M is the size of the patte...
Round duration - 90 minutes
Round difficulty - Medium
It was nice
Whats is BCNF how it is important?
you are given a container of rectangle shape filled with 1 litre and you want to pour half a litre without seeing or measuring.
Round duration - 45 mintues
Round difficulty - Easy
Very nice interviews very helpful.
Can you describe your time management skills?
What’s your absenteeism record like?
Can I trust you with responsibilities?
Tip 1 : Mention the projects clearly, explaining the tech stack, the problem solved and whether its a group or individual project
Tip 2 : Do not put false things on resume.
Tip 3 : Mention only those skills, in which you are confident.
Tip 1 : Mention your important projects in detail.
Tip 2 : Try to make a single-page resume. Highlight skills, projects, and work experience more than CGPA. Ensure proper spacing and font to maintain professionalism.
Tip 3 : Keep it precise and concise.
Tip 4 : Mention your achievements related to the role you are applying for.
I was interviewed before Mar 2021.
Round duration - 60 minutes
Round difficulty - Medium
Technical Interview round with questions on DSA.
Structure of an LRU Cache :
1) In practice, LRU cache is a kind of Queue — if an element is reaccessed, it goes to the end of the eviction order
2) This queue will have a specific capacity as the cache has a limited size. Whenever a new element is brought in, it is added at the head of the queue. When eviction happens, it happens from the tail of the queue.
3) Hitting data in the cache must be done in constant time, which...
The idea is to use the sorted arrival and departure times of trains and count the total number of platforms needed at a time . Maintain a counter to count the total number of trains present at the station at any point.
If the train is scheduled to arrive next, increase the counter by one and update the minimum platforms needed if the count is more than the minimum platforms needed so far.
If the train is scheduled ...
Round duration - 45 minutes
Round difficulty - Medium
Technical Interview round with DSA based questions.
The first line of input contains a single int...
This can be solved both: recursively and iteratively.
The recursive approach is more intuitive. First reverse all the nodes after head. Then we need to set head to be the final node in the reversed list. We simply set its next node in the original list (head -> next) to point to it and sets its next to NULL. The recursive approach has a O(N) time complexity and auxiliary space complexity.
For solving the question is c...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 20 Nov 2024
I applied via campus placement at Marathwada Mitra Mandal's College of Engineering, Pune and was interviewed in Oct 2024. There were 2 interview rounds.
General apptitude and 2 easy coding questions.
Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Animal class with methods eat() and sleep(). Dog and Cat classes can override these methods to have t
Virtualization is the process of creating a virtual version of a device or resource, such as a server, storage device, network or operating system.
Virtualization allows multiple virtual instances to run on a single physical machine
It helps in optimizing resources and increasing efficiency
Examples include VMware, VirtualBox, and Hyper-V
Technical round 1 was heavy DSA focused
Another DSA focused round
I applied via Instahyre and was interviewed in Nov 2024. There was 1 interview round.
It was on hackerrank(OA). There were two string and array based medium question.(Part of Blind 75 list)
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
General aptitude and out put realted questions
Face to face dsa and string manipulations
Software Engineer
14
salaries
| ₹3.8 L/yr - ₹5.3 L/yr |
Service Engineer
6
salaries
| ₹2.2 L/yr - ₹3.3 L/yr |
Design Engineer
5
salaries
| ₹2 L/yr - ₹3.5 L/yr |
Embedded Software Developer
5
salaries
| ₹3.5 L/yr - ₹5 L/yr |
Production Engineer
5
salaries
| ₹1.5 L/yr - ₹2.8 L/yr |
Infosys
TCS
Wipro
HCLTech