i
Electronic Arts
Filter interviews by
I applied via LinkedIn
Using a copy constructor in C++ creates a new object by copying the values of another object.
Copy constructor is a special member function that creates a new object as a copy of an existing object.
It is invoked when a new object is created from an existing object.
Example: MyClass obj1; MyClass obj2 = obj1; // Copy constructor is called to create obj2 as a copy of obj1.
Pointers/references are used to pass memory addresses instead of values, for efficiency and to modify data directly.
Use pointers when you need to modify the original data passed to a function
Use references when you want to avoid copying large data structures
Pointers are commonly used in dynamic memory allocation
References are used in function parameters to avoid unnecessary copying
Example: int x = 10; int *ptr = &x; *p
Can you explain me what is the recepie of this dish
posted on 17 Dec 2021
I applied via Campus Placement and was interviewed in Sep 2021. There were 3 interview rounds.
It was an online written round conducted on Coding Game platform. There were 2 sections including 15 MCQ and 2 coding questions.
The MCQs were based on C/C++ output based questions.
In the coding questions, we could only code in C++.
The answer is a letter in the string that appears most frequently.
Iterate through each letter in the string and count its frequency
Keep track of the letter with the highest frequency
Return the letter with the highest frequency
Given a binary matrix, find the largest square containing only 1's and return its area.
Use dynamic programming to solve the problem
Create a 2D array to store the maximum size of square at each point
For each point, check the top, left, and diagonal top-left values to calculate the maximum size of square
Return the maximum size of square found
Round duration - 70 minutes
Round difficulty - null
It was a DSA based round in which the interviewer asked me 2 DSA based questions. One was based on the sliding window technique and the other was based on binary search.
The maximum length of the alternating sequence is returned along with the sequence itself.
Iterate through the array and check if each element alternates with the previous one.
Keep track of the current alternating sequence length and the maximum length seen so far.
If the current element breaks the alternating pattern, update the maximum length and reset the current length.
Print the alternating sequence by storing the el
Round duration - 60 minutes
Round difficulty - null
It was again a DSA based round in which the interviewer asked me 2 DSA based questions. One was based on a hashing technique that is using hashmap and the other was based on a binary tree.
Find minimum arrows needed to burst balloons in decreasing order of height
Sort the array in decreasing order of height
Initialize arrow count to 1 and max height to first balloon height
Iterate through the array and if current balloon height is greater than max height, increment arrow count and update max height
Return arrow count
Time complexity: O(nlogn) for sorting, O(n) for iteration
Space complexity: O(1)
Electronic Arts interview questions for popular designations
I applied via LinkedIn and was interviewed in Nov 2021. There were 3 interview rounds.
Top trending discussions
Basic coding test like palindrome, series,arrays
I applied via Naukri.com and was interviewed in Mar 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in May 2022. There were 2 interview rounds.
Java oops concepts include encapsulation, inheritance, abstraction, and polymorphism. Overloading is a way to define multiple methods with the same name but different parameters.
Encapsulation: bundling data and methods that operate on that data within a single unit
Inheritance: creating new classes from existing ones
Abstraction: hiding implementation details and showing only the necessary information
Polymorphism: using ...
Encapsulation in Java is achieved by using access modifiers and creating classes with private fields and public methods.
Use access modifiers such as private, public, and protected to restrict access to fields and methods
Create classes with private fields and public methods to control access to data
Encapsulation helps to maintain data integrity and prevent unauthorized access to data
Example: class Person { private Strin...
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
Hackerearth test with c# ,SQL and MCQ
based on 3 interviews
Interview experience
based on 200 reviews
Rating in categories
QA Tester
129
salaries
| ₹3 L/yr - ₹7.2 L/yr |
Senior QA Tester
97
salaries
| ₹5 L/yr - ₹9 L/yr |
QA Tester II
73
salaries
| ₹4 L/yr - ₹6.3 L/yr |
Quality Analyst
57
salaries
| ₹4.5 L/yr - ₹9.5 L/yr |
Quality Assurance Tester 2
53
salaries
| ₹4 L/yr - ₹6.8 L/yr |
Pole To Win
International Game Technology
Ubisoft Entertainment
Aristocrat