i
Filter interviews by
I appeared for an interview in Feb 2023.
C Programming, OS Concepts, RTOS, Project Explanation.
I applied via Naukri.com and was interviewed in Oct 2020. There were 4 interview rounds.
Algorithm to find first two numbers in an array for a given sum.
Loop through the array and check if the difference between the sum and each element exists in the array.
Use a hash table to store the elements and their indices for faster lookup.
Design a data pipeline for a given situation
Identify data sources and their formats
Choose appropriate data storage and processing technologies
Define data processing steps and their order
Ensure data quality and consistency
Implement data validation and error handling
Monitor and optimize pipeline performance
Top trending discussions
posted on 7 May 2017
I appeared for an interview in Feb 2017.
malloc is a function in C that dynamically allocates memory on the heap. It is used to allocate memory for variables or data structures.
malloc is used in C programming language.
It is used to allocate memory on the heap.
malloc is different from 'new' in C++ as it does not call constructors for objects.
C++ is a general-purpose programming language while Objective C is a superset of C used for iOS and macOS development.
C++ is widely used for developing applications, games, and system software.
Objective C is mainly used for iOS and macOS development.
C++ supports both procedural and object-oriented programming paradigms.
Objective C is an object-oriented language with dynamic runtime features.
C++ has a larger community a...
Class container is a class that holds objects of other classes, while class composition is a way to combine multiple classes to create a new class.
Class container holds objects of other classes, acting as a collection or container.
Class composition combines multiple classes to create a new class with its own behavior and attributes.
In class container, the objects are typically stored in a data structure like an array o...
Divide the horses into groups of 5 and race them. Take the top 2 from each race and race them again. Finally, race the top 2 horses to determine the top 3.
Divide the horses into 3 groups of 5 and race them.
Take the top 2 horses from each race and race them again.
Finally, race the top 2 horses to determine the top 3.
Developing a real-time data processing system for a high-traffic e-commerce website
Implemented a distributed system architecture to handle large volumes of data
Optimized algorithms for efficient data processing and storage
Utilized caching mechanisms to improve system performance
Worked closely with cross-functional teams to troubleshoot and resolve issues
Example: Successfully reduced data processing time by 50% by imple...
Seeking new challenges and opportunities for growth.
Looking for a more challenging role to further develop my skills
Interested in exploring new technologies and industries
Seeking better career advancement opportunities
Want to work in a more collaborative team environment
The width of a tree is the maximum number of nodes at any level in the tree.
To calculate the width of a tree, we can perform a level order traversal and keep track of the maximum number of nodes at any level.
We can use a queue data structure to perform the level order traversal.
At each level, we count the number of nodes in the queue and update the maximum width if necessary.
posted on 10 May 2015
Locate sum of 2 numbers in a linear array (unsorted and sorted) and their complexities
For unsorted array, use nested loops to compare each element with every other element until the sum is found
For sorted array, use two pointers approach starting from the beginning and end of the array and move them towards each other until the sum is found
Complexity for unsorted array is O(n^2) and for sorted array is O(n)
Pointers are used to manipulate memory addresses and values in C++. Increment/decrement, address of and value at operators are commonly used.
Incrementing a pointer moves it to the next memory location of the same data type
Decrementing a pointer moves it to the previous memory location of the same data type
The address of operator (&) returns the memory address of a variable
The value at operator (*) returns the value sto...
To determine if a point is inside or outside a rectangle, we check if the point's coordinates fall within the rectangle's boundaries.
Check if the point's x-coordinate is greater than the left edge of the rectangle
Check if the point's x-coordinate is less than the right edge of the rectangle
Check if the point's y-coordinate is greater than the top edge of the rectangle
Check if the point's y-coordinate is less than the b...
To find line that divides rectangle into 2 equal halves through a point inside it.
Find the center of the rectangle
Draw a line from the center to the given point
Extend the line to the opposite side of the rectangle
The extended line will divide the rectangle into 2 equal halves
There are multiple combinations of 8-bit and 16-bit signed numbers. How many such combinations are possible?
There are 2^8 (256) possible combinations of 8-bit signed numbers.
There are 2^16 (65,536) possible combinations of 16-bit signed numbers.
To find the total number of combinations, we can add the number of combinations of 8-bit and 16-bit signed numbers.
Therefore, the total number of possible combinations is 256 + ...
Find duplicates in an array of elements in 0(n) time and 0(1) space.
Use the property of inputs to your advantage
Iterate through the array and mark elements as negative
If an element is already negative, it is a duplicate
Return all the negative elements as duplicates
Generate all combinations of digits from an array, allowing and disallowing repetition.
Use recursion or backtracking to generate combinations.
For repetition allowed: e.g., arr={1,2}, combinations are 11, 12, 21, 22.
For repetition not allowed: e.g., arr={1,2,3}, combinations are 123, 132, 213, 231, 312, 321.
Utilize a set to track used digits when repetition is not allowed.
I appeared for an interview in Nov 2016.
This program detects if a number is an integer or a float based on its input format.
Use input() to get user input as a string.
Check if the string contains a decimal point to identify floats.
Use str.isdigit() to check if the string represents an integer.
Example: '123' is int, '123.45' is float.
Need more context. What needs to be done with the large rectangle?
What are the dimensions of the rectangle?
Is it a 2D or 3D object?
What is the context of the problem?
Are there any constraints or limitations?
What tools or programming languages can be used?
Derive a formula to determine how many smaller rectangles fit into a bigger rectangle given their dimensions.
Calculate the number of times the smaller rectangle can fit into the bigger rectangle horizontally and vertically
Divide the width of the bigger rectangle by the width of the smaller rectangle to get the horizontal count
Divide the height of the bigger rectangle by the height of the smaller rectangle to get the ve...
At least 4 points are required to draw a rectangle.
A rectangle has 4 sides and 4 corners, so at least 4 points are needed to define those corners.
The points must be arranged in a specific order to form a closed shape with 4 sides.
Additional points can be used to add details or modify the shape of the rectangle.
The number of points required may vary depending on the software or tool used to draw the rectangle.
Answering how to calculate new coordinates of a scaled rectangle and providing a program for it.
To calculate new coordinates, multiply the original coordinates by the scaling factor
Scaling factor can be calculated by dividing the new length/breadth by the original length/breadth
Program can take input of original coordinates, scaling factor, and output new coordinates
Example: Original coordinates: (0,0), (0,5), (5,5), (...
I applied via Naukri.com and was interviewed in Jun 2019. There were 3 interview rounds.
Why-Why analysis is a problem-solving technique used to identify the root cause of a problem by repeatedly asking 'why' until the underlying cause is determined.
Why-Why analysis is also known as the 5 Whys technique.
It helps to uncover the underlying causes of a problem rather than just addressing the symptoms.
The technique involves asking 'why' multiple times to dig deeper into the problem.
Each 'why' question leads to...
5s is a workplace organization method that aims to improve efficiency and productivity by organizing and standardizing the workplace.
Sort - separate necessary items from unnecessary ones
Set in order - arrange necessary items in a logical manner
Shine - clean and inspect the workplace regularly
Standardize - establish procedures and guidelines for maintaining the workplace
Sustain - maintain the 5s system through continuou...
I applied via Naukri.com and was interviewed before Sep 2021. There were 3 interview rounds.
C programs and linked list related programs. In c mainly focus on strings and arrays
Extern and static are storage classes in C programming language.
Extern is used to declare a variable or function that is defined in another file.
Static is used to declare a variable or function that is only accessible within the same file.
Extern variables have global scope while static variables have local scope.
Extern functions can be used in other files while static functions cannot be used outside the file they are ...
I appeared for an interview before Sep 2020.
Round duration - 45 minutes
Round difficulty - Medium
Its a zoom call interview which lasted for 45 minutes. initially there are two panel members in which one is very targetting at me. They asked me different type of questions like jumping from DSA to project then to python then again java. Its a mixed combo pack type interview. for each and every question they asked me the real time example. The discussion on my project lasted for 15-20 mins.
Given a positive integer N
, compute the total number of '1's in the binary representation of all numbers from 1 to N. Return this count modulo 1e9+7 because the result can...
Count the total number of set bits in the binary representation of numbers from 1 to N modulo 1e9+7.
Use bitwise operations to count the set bits in each number from 1 to N.
Keep track of the total set bits and return the result modulo 1e9+7.
Optimize the solution to handle large values of N efficiently.
Consider using dynamic programming or precomputing values for faster computation.
Round duration - 30 mins
Round difficulty - Easy
This round was a zoom interview. The interview started with my brief introduction. This time the interview was more interested in my hobbies and passions. He asked me what do you do to keep yourself updated with the latest technology trends?
Tip 1 : Do participate in all the coding contests, long challenges held by codechef, codeforces
Tip 2 : Practice all kinds of problems on leetcode, gfg, coding ninjas
Tip 3 : When you are writing a written exam for a particular company, make sure you get to know about the company in detail.
Tip 1 : Make your resume short and sweet(mostly 1 page, max 2 pages) is preferred.
Tip 2 : Make sure your resume is crisp rather than descriptive
Tip 3 : Do not lie on your resume
I applied via Campus Placement and was interviewed in Jul 2021. There was 1 interview round.
It was basic coding question and aptitude.
Developed a web-based project management tool to enhance team collaboration and productivity.
Utilized React for the front-end to create a dynamic user interface.
Implemented Node.js and Express for the back-end to handle API requests.
Integrated MongoDB for efficient data storage and retrieval.
Incorporated user authentication using JWT for secure access.
Designed a responsive layout to ensure usability across devices.
based on 1 interview experience
Difficulty level
Duration
Physical Design Engineer
36
salaries
| ₹5.1 L/yr - ₹27.6 L/yr |
Design Engineer
14
salaries
| ₹12 L/yr - ₹30 L/yr |
Software Engineer
13
salaries
| ₹4 L/yr - ₹9 L/yr |
Senior Engineer
9
salaries
| ₹10 L/yr - ₹30 L/yr |
Embedded Engineer
8
salaries
| ₹3.5 L/yr - ₹10 L/yr |
Apar Industries
Molex
TDK India Private Limited
Micron Technology