Electronic Arts Interview Question
46 Interview Reviews |
Back to all Electronic Arts Interview Questions & Reviews
Interview questions and reviews posted anonymously by interview candidates
Interview Question for Software Engineer at Electronic Arts:
Came up with a program to take a string and printed the characters that appear more than once in the exact order as they are in the original string.
See more for this Electronic Arts Software Engineer Interview
Helpful Question?
Yes |
No
Inappropriate?
1 of 1 people found this helpful
by Bo:
Next go through the string the second time to print the character that appears more than once, this should give you the exact order as the original string.
Time Complexity: O(2n) = O(n)