i
Ernst & Young
Filter interviews by
I was interviewed before Dec 2020.
Round duration - 360 minutes
Round difficulty - Medium
Basically TCS conduct its flagship event named as CODEVITA . And it offers Internship to prefinal (3rd )year students .
Given an array of integers arr
, where arr[i]
represents the number of pages in the i-th
book, and an integer m
representing the number of students, allocate all the books ...
Allocate books to students in a way that minimizes the maximum number of pages assigned to a student.
Iterate through possible allocations and calculate the maximum pages assigned to a student.
Find the minimum of these maximums to get the optimal allocation.
Return the minimum pages allocated in each test case, or -1 if not possible.
Tip 1 : Good understanding of Data Structure and Algorithms
Tip 2 : Be clear in your Core Subjects.
Tip 3 : Do at least 1 good Project .
Tip 4 : Be humble and speak truth .
Tip 1 : Simple and Crisp .
Tip 2 : Do host your project and mention the link in the resume .
Tip 3 : Single Page
I was interviewed in Mar 2023.
Html, CSS, Javascript, Bootstrap, React Js, Node Js, GitHub, Git
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
I applied via Referral
I applied via Campus Placement and was interviewed in Oct 2023. There were 3 interview rounds.
90 minutes 3 coding questions
Object-oriented programming (OOP) is a programming paradigm based on the concept of objects, which can contain data and code.
Create classes to represent real-world entities
Encapsulate data and behavior within classes
Use inheritance to create relationships between classes
Implement polymorphism to allow objects to be treated as instances of their parent class
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Polymorphism is achieved through method overriding in subclasses.
It allows for more flexibility and reusability in code.
Example: Animal superclass with subclasses Dog and Cat, both overriding the makeSound() method.
Inheritance is a mechanism in object-oriented programming where a class inherits properties and behaviors from another class.
Types of inheritance include single inheritance, where a class inherits from only one parent class
Multiple inheritance, where a class inherits from multiple parent classes (not supported in some languages)
Multilevel inheritance, where a class inherits from a class that itself inherits from anothe...
I was interviewed in Feb 2024.
2 moderate DSA questions and a Question on React on Api's to fetch data
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Reverse the given array of strings
Use the reverse() method to reverse the array in place
Alternatively, you can use a for loop to iterate through the array and build a new reversed array
To call an API and print data in React, use fetch or axios to make the API call and then render the data in the component.
Use fetch or axios to make the API call in React component
Store the API response data in state using useState hook
Render the data in the component using JSX
Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.
Promises are used to handle asynchronous operations in JavaScript.
They can be in one of three states: pending, fulfilled, or rejected.
Promises can be chained using .then() to handle success and .catch() to handle errors.
Example: new Promise((resolve, reject) => { ... }).then(result => { ... }).catch(error =>
let is block scoped, var is function scoped
let is block scoped, var is function scoped
let can't be re-declared in the same scope, var can be
let variables are not hoisted, var variables are hoisted
based on 1 interview
Interview experience
Bangalore / Bengaluru
5-8 Yrs
Not Disclosed
Senior Consultant
15.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Consultant
12k
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
7.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant Manager
6.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
3.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Deloitte
PwC
EY Global Delivery Services ( EY GDS)
Accenture