UI Engineer Interview Questions in San Francisco, CA | Glassdoor

# UI Engineer Interview Questions in San Francisco, CA

56

UI engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### UI Engineer at Aclima was asked...

Apr 1, 2019
 (paraphrasing) Create an algorithm that (when given a massive list of objects containing lat, long, and some random string) can find a match to a specific location within a big list of locations. Some of the data is allowed to have a variance of a certain amount. Example: If the variance is 2.5%, then lat/long would need to be within that 2.5% (it doesn't have to be exactly the same point).1 AnswerAt first, I asked some clarifying questions, but they weren't budging on much information so I hazarded some high-level guesses and some weak pseudocode. Only then did they start to describe it more in the context of a real world map app that I'm in control of. Then I started talking about limiting the size of the list based upon where the map is zoomed in on, plus parallelizing chunks of the list in lambdas. I didn't know how to compare latitudes/longitudes for closeness and it felt like they expected me to? I would've preferred to have been given or assumed to be given a method that could compare them, or at least been given the ability to use my laptop to look that up. They even threw in curve balls! For example: what if there were regions on the map? This makes it more complicated because it's not a simple calculation of the variance from another location - you have to take into account whether or not the location is in the matching zone too. This was also the first interview of the 5 hours -_-

### UI Engineer Contract to Hire at Bank of America was asked...

Jun 29, 2015
 How do you code a checker board?1 Answer
var \$table = \$(‘.table’); function html_header() { \$table.html(‘) } function checkerboard(nRows, mCols){ var checkerSquares = [nRows][mCols] for (i=0; i’); for (j=0; j’); \$table.html(‘ } function odd_row(n, m) { \$table.html(‘ \$(‘window’).html(‘

### Senior UI Engineer at Motif Investing was asked...

Aug 2, 2015
 Q. How to ensure that a string contains equal opening and closing brackets {([])} 1 AnswerUse stack to store the characters as you iterate through the string and compare the last character in stack when open bracket is found in the string.

### UI Software Engineer at Electronic Arts was asked...

Sep 20, 2011
 Given a struct of an x,y coordinate called point and a an array of point pointers write a routine that will return the indices of the two closest points in C1 AnswerIndices must be passed into the array, the routine must round-robin all of the points and calculate the euclidean distance between them. As the distance is being calculated keep track of the point indices that have the minimum distance. Assign them to the int pointers passed in and exit the routine. Not really too difficult, but a little stressful when put on the spot to write it on a whiteboard.

### UI Software Engineer at Electronic Arts was asked...

Sep 20, 2011
 Given classes A,B,C. B is a subclass of A and C is a subclass of B. Why would you not call any virtual methods in any of their constructors?1 AnswerTrace the instantiation table. Virtual functions are implemented in subclasses. Calling a virtual method in the constructor of a base class is reliant on that class's (or parent class's) implementation. Subclasses that have reimplemented have not been instatiated yet.

### Senior UI Engineer at Splunk was asked...

Mar 15, 2019
 UI model massaging. Given an input how would you convert to some desired output and why would you model it that wayBe the first to answer this question

### Senior UI Engineer at Splunk was asked...

Mar 15, 2019
 System design questionBe the first to answer this question

### Senior UI Engineer at Splunk was asked...

Mar 15, 2019
 UX design reviewBe the first to answer this question

### UI/User Experience Engineer at Inovia was asked...

Mar 15, 2016
 What is the difference between skeumorphic and flat design? Be the first to answer this question

### Senior UI Quality Engineer at AppDynamics was asked...

Nov 3, 2016
 Whiteboard coding question: return first character that has been listed once in input string.Be the first to answer this question
110 of 56 Interview Questions