i
Ernst &
Young
Filter interviews by
I appeared for an interview in Feb 2024.
2 moderate DSA questions and a Question on React on Api's to fetch data
I applied via Referral and was interviewed in Sep 2024. There were 2 interview rounds.
Merge sort has a time complexity of O(n log n) in the worst case scenario.
Merge sort divides the array into two halves, sorts them recursively, and then merges them back together.
The time complexity of merge sort is O(n log n) in the worst case scenario.
For example, sorting an array of 8 elements would take 3 recursive calls to merge sort.
Create a palindrome checker using React JS to display on the UI
Create a input field for user to enter a string
Use state to store the input string
Create a function to check if the input string is a palindrome
Display the result on the UI
Javascript question on promise, callbacks, hosting
What people are saying about Ernst & Young
posted on 30 Jun 2024
Error handling in JavaScript involves using try-catch blocks, throwing custom errors, and using error objects.
Use try-catch blocks to catch and handle errors
Throw custom errors using the throw keyword
Use error objects like Error, SyntaxError, TypeError, etc. for specific types of errors
Closure is a function that retains access to variables from its parent scope even after the parent function has finished executing.
Closure allows a function to access and manipulate variables from its outer scope.
It forms a 'closed-over' scope that persists even after the outer function has finished executing.
Closures are commonly used in event handlers, callbacks, and asynchronous code.
Example: function outerFunction(...
I am a passionate front end developer with 5 years of experience in creating user-friendly and responsive web applications.
5 years of experience in front end development
Proficient in HTML, CSS, JavaScript, and various front end frameworks
Strong understanding of UI/UX principles
Experience in creating responsive web applications
Passionate about staying updated with the latest web technologies
Basic angular questions like-lazy loading, == === operator etc
I applied via Naukri.com
DOM stands for Document Object Model, it is a programming interface for web documents. It represents the structure of a document as a tree of objects.
DOM is used to interact with HTML and XML documents in a structured way
It allows developers to manipulate the content, structure, and style of a website dynamically
DOM provides methods and properties to access and modify elements on a web page
Example: document.getElementB...
The output will display the document object in the console.
Typing 'document' in the console will return the document object, which represents the current HTML document.
The document object provides access to the content and structure of the webpage, allowing manipulation of elements and properties.
I appeared for an interview in Jan 2025.
Hoisting is a JavaScript mechanism where variable and function declarations are moved to the top of their containing scope.
Variable declarations are hoisted but not their initializations.
Function declarations are fully hoisted.
Example: console.log(myVar); var myVar = 10; // Output: undefined
Example: console.log(myFunc()); function myFunc() { return 'Hello!'; } // Output: Hello!
Using map function to apply a callback function to each element in an array
Map function is used to iterate over an array and apply a callback function to each element
The callback function can perform operations on each element and return a new value
Example: arr.map(item => item * 2) will double each element in the array
Flexbox is best for one-dimensional layouts, Grid is best for two-dimensional layouts, DOM is the structure of a webpage, Box model is the layout of elements.
Flexbox is best for creating one-dimensional layouts like navigation bars or sidebars.
Grid is best for creating two-dimensional layouts like grids of images or cards.
DOM (Document Object Model) is the structure of a webpage, representing the elements as objects.
Bo...
based on 1 interview experience
Senior Consultant
19.3k
salaries
| ₹15 L/yr - ₹27 L/yr |
Consultant
13.1k
salaries
| ₹10 L/yr - ₹18 L/yr |
Manager
8k
salaries
| ₹23 L/yr - ₹40 L/yr |
Assistant Manager
6.8k
salaries
| ₹14.3 L/yr - ₹25.5 L/yr |
Associate Consultant
4.3k
salaries
| ₹5.2 L/yr - ₹12 L/yr |
Deloitte
PwC
EY Global Delivery Services ( EY GDS)
Accenture