Electronic Arts Coding Interview Questions
25 Electronic Arts coding interview problems with full optimal solutions — 15 easy, 7 medium, 3 hard. Every problem ships with multiple approaches (brute-force first, then the optimal), complexity tables for each, company-specific tips on what an Electronic Arts interviewer values, and a FAQ section.
Showing 15 problems of 25
- #1easyfoundational
1. Two Sum
Find two indices in an array whose values sum to a target — a classic warm-up at EA gauging hash-map fluency.
- #2easyfoundational
2. Valid Parentheses
Validate that bracket characters in a string are properly matched and nested using stack-based parsing.
- #3easyfoundational
3. Merge Two Sorted Lists
Merge two sorted linked lists into one sorted list using pointer manipulation.
- #4easyfoundational
4. Remove Duplicates from Sorted Array
In-place dedup of a sorted array using two pointers — a classic systems-style array problem.
- #5easyfoundational
5. Remove Element
Remove all occurrences of a target value in place, returning the new logical length.
- #6easyfoundational
6. Search Insert Position
Binary-search for a target or the index where it would be inserted to keep the array sorted.
- #7easyfoundational
7. Plus One
Increment an arbitrary-precision integer represented as a digit array.
- #8easyfoundational
8. Merge Sorted Array
Merge nums2 into nums1 in place, exploiting trailing zero slots and walking from the back.
- #9easyfoundational
9. Binary Tree Inorder Traversal
Return the inorder traversal of a binary tree's node values using recursion or an explicit stack.
- #10easyfoundational
10. Same Tree
Determine whether two binary trees are structurally and value-wise identical.
- #11easyfoundational
11. Symmetric Tree
Determine whether a binary tree is a mirror of itself around its center.
- #12easyfoundational
12. Maximum Depth of Binary Tree
Return the number of nodes on the longest root-to-leaf path.
- #13easyfoundational
13. Path Sum
Determine if a binary tree has a root-to-leaf path that sums to a target value, a pattern used in EA game scene-graph traversals.
- #14easyfoundational
14. Pascal's Triangle
Generate the first numRows rows of Pascal's triangle, testing 2D array construction skills valued in EA's simulation and math-heavy game code.
- #15easyfoundational
15. Single Number
Find the element that appears only once in an array where every other element appears twice, testing bit manipulation knowledge used in EA's low-level engine code.