Filter interviews by
I applied via Job Portal and was interviewed before Apr 2023. There were 4 interview rounds.
Coding round on D2C - codehers
Move all 0s to the end of the array while maintaining the order of other elements.
Iterate through the array and keep track of the index to place non-zero elements.
After iterating, fill the remaining positions with 0s.
Top trending discussions
I applied via Talent500 and was interviewed in Dec 2024. There was 1 interview round.
Basic aptitude questions based on profit and loss
Coding test based on c language and python programming
Communication assignment based on English
Real-time operating systems are designed to provide guaranteed response times for critical tasks.
Real-time operating systems prioritize tasks based on their urgency and importance.
They are commonly used in industries such as aerospace, automotive, and industrial automation.
Examples include VxWorks, QNX, and FreeRTOS.
I applied via Walk-in and was interviewed in Aug 2024. There was 1 interview round.
Daemon thread is a low priority thread that runs in the background and does not prevent the JVM from exiting.
Daemon threads are used for tasks that do not require user interaction or continuous execution.
They are automatically terminated when all non-daemon threads have finished.
Set a thread as daemon using setDaemon(true) method before starting it.
Example: Thread t = new Thread(); t.setDaemon(true); t.start();
Hackerrank was used for test
Implement BFS algorithm to find the nearest neighbour
Create a queue to store nodes to be visited
Start with the initial node and add it to the queue
While the queue is not empty, dequeue a node, visit its neighbours, and add them to the queue
Repeat until the nearest neighbour is found
Priority queue can be implemented using a heap data structure.
Create a min heap or max heap based on the priority order needed.
Insert elements into the heap based on their priority level.
Remove elements from the heap based on their priority level.
Heapify the heap after each insertion or deletion operation.
Example: Implementing a min heap for a priority queue where lower values have higher priority.
I applied via Naukri.com and was interviewed before Mar 2023. There were 2 interview rounds.
String manipulation using loops and conditionals for software engineering
Use loops to iterate through each character in the string
Use conditional statements to check for specific conditions and manipulate the string accordingly
Examples: reversing a string, counting occurrences of a specific character, removing whitespace
I applied via Naukri.com and was interviewed in Jan 2022. There were 3 interview rounds.
They just asked about my previous experience and questions from my resume
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Custom hooks in React are reusable functions that allow you to extract component logic into separate functions for better code organization and reusability.
Custom hooks are created using the 'use' prefix and can be used to share logic between components.
Use cases for custom hooks include fetching data from an API, handling form state, managing local storage, and more.
Example of a custom hook for API call: const useFetc...
useMemo is used to memoize a value, while useCallback is used to memoize a function.
useMemo is used to memoize a value and recompute it only when its dependencies change.
useCallback is used to memoize a callback function and prevent unnecessary re-renders.
Example: useMemo can be used to memoize the result of a complex computation, while useCallback can be used to memoize an event handler function.
Class-based components use ES6 classes and have lifecycle methods, while functional components are simpler and use functions.
Class-based components use ES6 classes to create components, while functional components are created using functions.
Class-based components have lifecycle methods like componentDidMount and componentDidUpdate, while functional components do not.
Functional components are simpler and more lightweig...
Implementing the lifecycle of a React component in a functional component
Use the useEffect hook to replicate lifecycle methods like componentDidMount, componentDidUpdate, and componentWillUnmount
Pass an empty array as the second argument to useEffect to mimic componentDidMount
Pass a variable or state as the second argument to useEffect to mimic componentDidUpdate
Return a cleanup function inside useEffect to mimic compo
Various state management techniques in React include Context API, Redux, and local state.
Context API: React's built-in solution for passing data through the component tree without having to pass props down manually at every level.
Redux: A popular state management library for React applications, allowing for a centralized store to manage application state.
Local state: Managing state within individual components using us
Redux is a predictable state container for JavaScript apps. Middlewares are functions that intercept actions before they reach the reducer.
Redux follows a unidirectional data flow architecture.
Middlewares in Redux are functions that can intercept, modify, or dispatch actions.
Common use cases for middlewares include logging, asynchronous API calls, and handling side effects.
Examples of popular Redux middlewares are Redu...
Hoisting in JavaScript is the behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase.
Variable declarations are hoisted to the top of their scope, but not their initializations.
Function declarations are fully hoisted, meaning they can be called before they are declared.
Hoisting can lead to unexpected behavior if not understood properly.
Event bubbling is the propagation of events from the target element up through its ancestors in the DOM tree.
Events triggered on a child element will 'bubble up' and trigger on parent elements.
Event listeners can be attached to parent elements to handle events from multiple child elements.
Stopping event propagation can be done using event.stopPropagation() or event.stopImmediatePropagation().
Block scope and function scope are two types of scopes in JavaScript that determine the visibility and accessibility of variables.
Block scope refers to the visibility of variables within a block of code enclosed by curly braces. Variables declared with 'let' and 'const' have block scope.
Function scope refers to the visibility of variables within a function. Variables declared with 'var' have function scope.
Variables de...
Yes, I have experience working with semantic tags in HTML.
Used semantic tags like <header>, <nav>, <main>, <section>, <article>, <aside>, <footer> for better structure and SEO.
Understand the importance of using semantic tags for accessibility and search engine optimization.
Semantic tags help in organizing content and making it more readable for developers and browsers.
Various methods for creating an object in JavaScript include object literals, constructor functions, ES6 classes, and Object.create() method.
Object literals: var obj = { key: value };
Constructor functions: function ObjectName() { this.key = value; } var obj = new ObjectName();
ES6 classes: class ClassName { constructor() { this.key = value; } } var obj = new ClassName();
Object.create() method: var obj = Object.create(pr
Shallow copy only copies the references of nested objects, while deep copy creates new copies of nested objects.
Shallow copy creates a new object but does not create copies of nested objects, only copies their references.
Deep copy creates a new object and also creates new copies of all nested objects.
Shallow copy can be achieved using Object.assign() or spread operator, while deep copy can be achieved using JSON.parse(
The code will throw an error because 'a' is declared but not initialized.
The code will result in a ReferenceError because 'a' is declared but not assigned a value.
Variables declared with 'const' must be initialized at the time of declaration.
Initializing 'a' with a value before calling test() will prevent the error.
CSS can be used to arrange elements in a row and column layout using flexbox or grid layout properties.
Use display: flex; for a row layout and display: flex; flex-direction: column; for a column layout
Use justify-content and align-items properties to align items in the main axis and cross axis respectively
For grid layout, use display: grid; and grid-template-columns or grid-template-rows to define the layout
Yes, I have utilized CSS preprocessors such as SASS and LESS.
I have experience using SASS to streamline my CSS workflow by utilizing variables, mixins, and nesting.
I have also worked with LESS to improve code organization and maintainability through features like variables and functions.
The color applied will be based on the specificity of the selector, with ID having higher specificity than class.
ID has higher specificity than class in CSS
Color applied will be based on the selector with higher specificity
Example: If ID selector has color red and class selector has color blue, the color applied will be red
I applied via Walk-in and was interviewed in Dec 2024. There were 10 interview rounds.
Any ideas for an aptitude test?
What is education in place?
What is a SQL Server?
Effective communication and any suggestion.
Engage with any assignment provided.
Please provide any assignments you have.
The return statement in Java is used to explicitly return a value from a method.
The return statement is followed by the value that is to be returned from the method.
It can only be used within a method body.
Once a return statement is executed, the control is transferred back to the caller of the method.
Get set methods are used in object-oriented programming to retrieve and update the values of private variables.
Get methods are used to retrieve the value of a private variable.
Set methods are used to update the value of a private variable.
They are commonly used to ensure data encapsulation and control access to class variables.
Interface is a contract specifying methods that a class must implement, while abstract class can have both implemented and abstract methods.
Interface cannot have method implementations, while abstract class can have both implemented and abstract methods.
A class can implement multiple interfaces but can only extend one abstract class.
Interfaces are used to achieve multiple inheritance in Java.
Abstract classes can have c...
Implement a stack in Java using an array
Create an array to store the elements of the stack
Keep track of the top of the stack using an index variable
Implement push() to add elements to the stack
Implement pop() to remove elements from the stack
Example: String[] stackArray = new String[10];
HashMap is unordered and uses hashing to store key-value pairs, while TreeMap is ordered and uses a red-black tree to store key-value pairs.
HashMap uses hashing to store key-value pairs, allowing for O(1) time complexity for get and put operations.
TreeMap uses a red-black tree to store key-value pairs, maintaining order based on the keys.
HashMap does not guarantee any specific order of elements, while TreeMap maintains...
Senior Software Engineer
25
salaries
| ₹14.4 L/yr - ₹50 L/yr |
Software Engineer
12
salaries
| ₹19.3 L/yr - ₹64.1 L/yr |
Software Engineer III
10
salaries
| ₹27.2 L/yr - ₹36 L/yr |
Software Developer
5
salaries
| ₹6.8 L/yr - ₹27 L/yr |
Data Scientist
5
salaries
| ₹24 L/yr - ₹58 L/yr |
Amazon Development Centre India
Flipkart
Microsoft Corporation