i
Electronic Arts
Filter interviews by
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)
Top trending discussions
I applied via Naukri.com and was interviewed in Mar 2021. There were 4 interview rounds.
The pillars of OOPS are Inheritance, Encapsulation, Abstraction, and Polymorphism.
Inheritance allows a class to inherit properties and behavior from another class.
Encapsulation restricts access to certain components within a class, protecting the data from outside interference.
Abstraction hides the complex implementation details and only shows the necessary features to the user.
Polymorphism allows objects to be treated...
posted on 28 Jun 2021
posted on 6 Feb 2024
I applied via Recruitment Consulltant and was interviewed before Feb 2023. There was 1 interview round.
Polymorphism in C++ allows objects of different classes to be treated as objects of a common superclass.
Polymorphism is achieved through function overloading and virtual functions.
Function overloading allows multiple functions with the same name but different parameters.
Virtual functions are functions in a base class that are overridden in derived classes.
Example: Animal class with virtual function 'makeSound', Cat and
STL in C++ provides reusable algorithms and data structures for efficient programming.
STL includes containers like vector, list, map, algorithms like sort, find, and iterators.
Example: vector
STL saves time by providing pre-implemented solutions for common programming tasks.
Design patterns in C++ are reusable solutions to common problems in software design.
Design patterns help in creating flexible, maintainable, and scalable code.
Examples of design patterns in C++ include Singleton, Factory, Observer, and Strategy.
Each design pattern has a specific purpose and can be applied in different scenarios.
Understanding design patterns can improve code quality and efficiency in software developmen
posted on 2 Mar 2023
I applied via Naukri.com and was interviewed before Mar 2022. There were 4 interview rounds.
MCQ based on programming, 2 programming problems
Copy constructor is a special constructor that creates a new object by copying an existing object.
It is used to initialize an object with another object of the same class.
It takes a reference to an object of the same class as an argument.
It creates a new object with the same values as the object passed as argument.
It is automatically called when a new object is created from an existing object.
Example: MyClass obj1; MyC
Shallow copy creates a new object with the same reference as the original, while deep copy creates a new object with a new reference.
Shallow copy only copies the top-level object, while deep copy copies all nested objects.
Shallow copy is faster and uses less memory, while deep copy is slower and uses more memory.
Examples of shallow copy include copying arrays and objects using the spread operator, while examples of dee...
Implementation of Merge Sort on an array
Divide the array into two halves
Recursively sort the two halves
Merge the sorted halves
Time complexity: O(n log n)
Space complexity: O(n)
Virtual functions are functions that can be overridden by derived classes.
Virtual functions are declared in a base class and can be overridden in derived classes.
They allow for polymorphism, where a derived class object can be treated as a base class object.
Virtual functions are called based on the actual object type, not the pointer or reference type.
They are declared using the virtual keyword in the base class and ca...
I am good at object-oriented programming, data structures, and algorithms in C++.
Strong understanding of object-oriented programming principles
Proficient in implementing data structures and algorithms in C++
Experience with memory management and pointers
Familiarity with C++ standard library and STL
Ability to optimize code for performance and efficiency
I am passionate about software development and this job aligns perfectly with my skills and interests.
I have a strong passion for software development and enjoy solving complex problems.
This job offers the opportunity to work on cutting-edge technologies and contribute to innovative projects.
I am excited about the company's mission and values, and believe in the positive impact software can have on society.
I am eager t...
I am committed to staying with the company for the long term and contributing to its success.
I am looking for a stable and challenging work environment.
I believe in the company's mission and values.
I am eager to grow and develop my skills within the company.
I am open to new opportunities and challenges that may arise.
I am committed to building strong relationships with my colleagues and contributing to a positive work
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...
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