Software Engineer Interview Questions in Bridgeport, CT | Glassdoor.co.in

# Software Engineer Interview Questions in Bridgeport, CT, US

171

Software engineer interview questions shared by candidates

## Top Interview Questions

Sort: RelevancePopular Date

### Software Engineer at FactSet was asked...

17 Nov 2013
 You are given a stream of directions in [up, down, left, right]. Each direction means move one unit in that direction. After completing the movements, you will return to the position where you started. Compute the area of the shape you created. I was asked this when FactSet interviewed me a very long time ago. I liked the question so I sometimes use it myself when I interview other applicants..4 AnswersThere is no answer. The interviewer just wants to have a good discussion with you about algorithms and running time.Does this mean the area of steps taken (not including duplicate steps)? Or the area of the steps taken AND area of the shape within those steps (assuming the steps produce a complete shape)?use the floor function of (number of moves / 2). [n/2]Show more responses@Roshan your solution won't work. It fails for this example up-right-up-right-down-down-left-left

### Software Engineer at FactSet was asked...

14 Oct 2010
 Given a list of sorted/sequential integers with one duplicate, find the duplicate.1 AnswerI got stuck for a little, then realized binary search would work--since you know the sequence and it's sorted, you know what the middle element should be. If the middle element is smaller than you expect, something's duplicated on the left side. Similarly if it's larger, then something's duplicated on the right. Keep going like this and you will eventually find the duplicate.

### Software Engineer at FactSet was asked...

14 Oct 2010
 Write a method that loops through 1-100, and prints "fizz" when the number is a multiple of 3, "buzz" when the number is a multiple of 5, and "fizzbuzz" when the number is a multiple of both 3 and 5.1 AnswerInitially I gave a naive answer which had two booleans and 3 "if" statements which checked for i%15==0, i%3==0, i%5==0, respectively. Then the interviewer asked me whether this could be reduced to two if's. I thought it couldn't, and then she asked me what would happen if I got rid of the check for i%15==0. Then I realized, that we could achieve it through string concatenation (i.e., not printing a newline for every "fizz" or "buzz") The answer was this (in Java) public void fizzBuzz() { for (int i=1; i<=100; i++) { if(i%3==0) System.out.print("fizz"); if(i%5==0) System.out.print("buzz"); } } The trick in the question is that due to the way it's worded, you are tempted to think that you need three conditions. Actually, you only need two. It was a little embarrassing to have slipped in this problem, but I'd been so used to printing lines in C++/Java that I forgot the print statements could be used in this manner. I later googled it and found it is a common interview question.

### Software Engineer at FactSet was asked...

14 Oct 2010
 Design a blackjack game.1 AnswerI gave the class names: Probably, a "Game" class to drive the events in the game, a "Dealer" and "Player" classes, "Card" and "BlackJackCard" classes because a card in blackjack is a little different than a regular card. Then I gave the general data structures each class would contain.

### Mobile Software Engineer at Priceline.com was asked...

4 Apr 2013
 New York guy asked typical iPhone engineering questions but none particularly egregious or challenging, e.g. memory management and ARC1 Answerstudy up on basic iOS engineering concepts

### Junior Software Engineer at Interactive Brokers was asked...

24 Oct 2019
 Binary tree lookup time.1 AnswerO(n). O(logn) if BST

### Software Engineer at FactSet was asked...

3 Apr 2013
 Others had been saying atoi() was a common question, as was a binary tree question. I did not see either.1 Answerwhat kind of questions did you get for design and algorithms interview

### Senior Software Engineer at Priceline.com was asked...

1 Mar 2012
 if there are multiple web servers how do consecutive user requests get the session info?1 AnswerHTTPSession Clustering

### Software Engineer at FactSet was asked...

14 Mar 2014
 nothing unexpected.1 Answerthey are all friendly.

### Senior Software Engineering at Hologic was asked...

24 Jun 2010
 If we can't provide the senior position would you accept a middle level position? We can not provide the senior position because you are not doing the exact thing we are doing right now.1 AnswerComment: It seems to me they just want to lower the salary because they do not have the right budget for it. This probably why the position is not filled for a very long time.
110 of 171 Interview Questions