i
Electronic Arts
Filter interviews by
posted on 17 Dec 2021
I applied via campus placement at National Institute of Technology (NIT), Jamshedpur 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
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
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
posted on 23 May 2024
I applied via Approached by Company and was interviewed before May 2023. There were 3 interview rounds.
Flight search system
Design a scalable system to send notifications to a million users.
Use a distributed system to handle the large volume of notifications.
Implement a message queue to manage the notifications efficiently.
Utilize push notifications for mobile devices to reduce server load.
Consider using a content delivery network (CDN) for delivering notifications quickly.
Implement monitoring and alerting to track the performance of the no
QA Tester
116
salaries
| ₹3 L/yr - ₹7.2 L/yr |
Senior QA Tester
94
salaries
| ₹5 L/yr - ₹9.1 L/yr |
QA Tester II
72
salaries
| ₹4 L/yr - ₹6.3 L/yr |
Quality Analyst
56
salaries
| ₹4.5 L/yr - ₹9.5 L/yr |
Quality Assurance Tester 2
51
salaries
| ₹4 L/yr - ₹6.8 L/yr |
Ubisoft Entertainment
Nintendo
Microsoft Corporation
Tencent