i
Apple
Work with us
Filter interviews by
I applied via Referral and was interviewed in Dec 2024. There were 3 interview rounds.
Heavy dsa, very good
Cat level questions very good
Work very hard and trust yourself
Top trending discussions
posted on 26 Feb 2024
Induction motors are a type of AC motor where power is supplied to the rotor by electromagnetic induction.
Induction motors do not have any physical electrical connections between the stator and rotor.
They are widely used in various applications due to their simplicity, reliability, and low cost.
Examples of induction motors include squirrel cage motors and wound rotor motors.
Transformer types include step-up, step-down, isolation, autotransformer, and distribution transformers.
Step-up transformers increase voltage levels for long-distance transmission.
Step-down transformers decrease voltage levels for household use.
Isolation transformers provide electrical isolation between circuits.
Autotransformers have a single winding with taps for different voltage levels.
Distribution transformers supp...
I applied via Naukri.com and was interviewed before Jul 2020. There were 4 interview rounds.
I appeared for an interview before Nov 2020.
Round duration - 90 Minutes
Round difficulty - Medium
It was in the morning at our institute. There were technical and aptitude problems.
Develop a function to print star patterns based on the given number of rows 'N'. Each row in the pattern should follow the format demonstrated in the example.
The picture illustra...
Function to print star patterns based on the given number of rows 'N'.
Iterate through each row from 1 to N
For each row, print spaces (N-row) followed by stars (2*row-1)
Repeat until all rows are printed
Round duration - 30 Minutes
Round difficulty - Medium
It was actually a Techno HR round. I was asked some technical questions about OS, OOPS, COMPUTER NETWORKING, WEB DEVELOPMENT. He went through my whole resume, asked about all the projects and past working experiences. The interviewer was really good, we talked about so many other topics, from Women empowerment to Water Crises. I felt really confident while speaking because he made me so comfortable.
Selection sort is a sorting technique that works by repeatedly finding the minimum element (considering ascending order) from the unsorted part and placing it at the beginning of ...
Selection Sort Algorithm sorts an array by repeatedly finding the minimum element and placing it at the beginning of the unsorted part.
Iterate through the array to find the minimum element and swap it with the first unsorted element.
Repeat this process for each element in the array until it is fully sorted.
Time complexity of Selection Sort is O(n^2) making it inefficient for large arrays.
Tip 1 : Study data structures thoroughly and practice coding regularly. Do practice it on Leetcode as it has a lot of test cases, I personally find it really helpful.
Tip 2 : Learn new skills and make projects with them to get the most out of them.
Tip 3 : Do study other basic and very important subjects like Oops, DBMS, OS.
Tip 1 : Do mention your achievements and other co curricular activities.
Tip 2 : Your projects are a big highlight, keep them crisp and be prepared to explain them thoroughly.
I applied via Walk-in and was interviewed before Jan 2021. There were 3 interview rounds.
I am eager to join as an Analyst to leverage my analytical skills and contribute to impactful decision-making processes.
Passion for data analysis: I enjoy uncovering insights from data, as demonstrated in my previous internship where I improved reporting efficiency by 30%.
Desire for professional growth: Joining your team offers opportunities to learn from experienced analysts and develop my skills further.
Alignment wit...
I applied via Campus Placement and was interviewed before Feb 2021. There were 3 interview rounds.
One question of 3 hrs with 50 test cases all needed to pass.
I appeared for an interview before May 2021.
Round duration - 90 Minutes
Round difficulty - Medium
You are given a set of 'N' stones, each with a specific weight and color. The goal is to fill a knapsack with exactly 'M' stones, choosing one stone of each color, so that the to...
The goal is to fill a knapsack with exactly 'M' stones, choosing one stone of each color, minimizing the unused capacity.
Use dynamic programming to solve this problem efficiently.
Create a 2D array to keep track of the minimum unused capacity for each color and weight combination.
Iterate through the stones and colors to update the array with the minimum unused capacity.
Return the minimum unused capacity from the array a...
Round duration - 24 hours
Round difficulty - Medium
Round duration - 25 minutes
Round difficulty - Easy
Tip 1 : have basic knowledge of web development
Tip 2 : have in depth understanding of workflow and tech stacks you use in your projects
Tip 1 : mention the skills you are comfortable to answer questions on
Tip 2 : have some projects with clear mention of your contribution to it on resume.
I appeared for an interview before Jan 2021.
Round duration - 120 Minutes
Round difficulty - Medium
The round had 2 coding problems to solve with varying difficulty. Each candidate had a different set of questions. The round was around 2 pm. The webcam was turned on to keep an eye on candidates.
Given an array ARR
of size N
, where each element represents the height of a balloon. The task is to destroy all balloons by shooting arrows from left to right. When an arrow hits...
Find the minimum number of arrows needed to burst all balloons by shooting arrows from left to right.
Sort the array in non-decreasing order to make it easier to calculate the minimum number of arrows needed.
Iterate through the sorted array and count the number of times the height decreases compared to the previous balloon.
The count of decreases + 1 will give the minimum number of arrows needed to burst all balloons.
Exa...
Count the number of leaf nodes present in a given binary tree. A binary tree is a data structure where each node has at most two children, known as the left child and the...
Count the number of leaf nodes in a binary tree.
Traverse the binary tree and check if both left and right children are NULL to identify leaf nodes.
Use recursion to traverse the tree efficiently.
Keep track of the count of leaf nodes as you traverse the tree.
Handle base cases where the current node is NULL or a leaf node.
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 questions related to DSA. I was first asked to explain my approach with proper complexity analysis and then code the soution in any IDE that I prefer.
Given a rod of a certain length, the rod can be divided into different sizes, each with an associated cost. Your task is to determine the maximum cost that can be obtained by...
The Rod Cutting Problem involves maximizing the profit obtained by cutting a rod into smaller pieces and selling them.
Use dynamic programming to solve this problem efficiently.
Create a table to store the maximum profit for each sub-length of the rod.
Iterate through the rod lengths and update the table with the maximum profit.
The final answer will be the maximum profit for the total length of the rod.
You are given an array of integers ARR
and an integer X
. Your task is to determine the number of subarrays of ARR
whose bitwise XOR is equal to X
.
Count the number of subarrays in an array whose XOR is equal to a given value.
Iterate through the array and keep track of XOR values and their frequencies using a hashmap.
For each element in the array, calculate the XOR with the current element and check if the required XOR value exists in the hashmap.
Increment the count of subarrays whenever the required XOR value is found in the hashmap.
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 questions of DSA of Easy-Medium difficulty and at the end I was asked a Puzzle to check my general problem solving ability.
You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:
Find the minimum time required to rot all fresh oranges in a grid.
Use Breadth First Search (BFS) to simulate the rotting process of oranges.
Keep track of the time taken to rot all oranges and the count of fresh oranges remaining.
If all fresh oranges are not rotten after simulation, return -1.
Handle edge cases like empty grid or no fresh oranges present.
Example: For the given grid, the minimum time required is 4 seconds...
For a given singly linked list, identify if a loop exists and remove it, adjusting the linked list in place. Return the modified linked list.
A...
Detect and remove loop in a singly linked list in place with O(n) time complexity and O(1) space complexity.
Use Floyd's Cycle Detection Algorithm to identify the loop in the linked list.
Once the loop is detected, use two pointers approach to find the start of the loop.
Adjust the pointers to remove the loop and return the modified linked list.
Example: For input 5 2 and 1 2 3 4 5, return 1 2 3 4 5 without the loop.
Round duration - 50 Minutes
Round difficulty - Medium
This round had 2 Algorithmic questions wherein I was supposed to code both the problems after discussing their
approaches and respective time and space complexities . After that , I was grilled on some OOPS concepts related to C++.
You are provided with a string STR
of length N. The task is to find the longest palindromic substring within STR
. If there are several palindromic substring...
Given a string, find the longest palindromic substring within it.
Iterate through the string and expand around each character to find palindromes
Keep track of the longest palindrome found so far
Return the longest palindromic substring
You are provided with an array of integers. The task is to sort the array in ascending order using the quick sort algorithm.
Quick sort is a divide-and-conquer algorithm. It ...
Yes, the quick sort algorithm can be enhanced to achieve NlogN complexity in the worst case by using a randomized version of the algorithm.
Randomized quick sort involves randomly selecting the pivot element to reduce the chances of worst-case scenarios.
By choosing a random pivot, the algorithm becomes less predictable and more likely to achieve the desired time complexity.
This enhancement helps in avoiding the worst-ca...
Friend functions in C++ are functions that are not members of a class but have access to its private and protected members.
Friend functions are declared inside a class with the keyword 'friend'.
They can access private and protected members of the class.
They are not member functions of the class, but have the same access rights as member functions.
Friend functions are useful for implementing operators that are not part ...
Early binding is resolved at compile time while late binding is resolved at runtime in C++.
Early binding is also known as static binding, where the function call is resolved at compile time based on the type of the object.
Late binding is also known as dynamic binding, where the function call is resolved at runtime based on the actual type of the object.
Early binding is faster as the function call is directly linked to ...
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.
I applied via Campus Placement and was interviewed before Jun 2021. There were 4 interview rounds.
2 coding questions (1 DP + 1 Graph)
based on 1 interview experience
Difficulty level
Duration
Software Engineer
234
salaries
| ₹32.5 L/yr - ₹52 L/yr |
Software Developer
151
salaries
| ₹25.2 L/yr - ₹41.7 L/yr |
Ipro
117
salaries
| ₹2 L/yr - ₹5 L/yr |
Sales Executive
103
salaries
| ₹1.7 L/yr - ₹4.8 L/yr |
Senior Software Engineer
102
salaries
| ₹34.2 L/yr - ₹62 L/yr |
Amazon
Microsoft Corporation
Samsung