Associate Software Engineer Interview Questions in Raleigh-Durham, NC | Glassdoor

Associate Software Engineer Interview Questions in Raleigh-Durham, NC


Associate software engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

They had two coding exercises at the end. First was a warm up: reverse a string. i.e. "hello" should be "olleh" Second was pretty much the same exercise that was given here. You have ONE row of seats (single array) and you want to find the best one (best being the seat with the MOST empty seats at both the left and the right of it).

2 Answers

1) To reverse a string, they want you to use StringBuilder. Unlike using String variables which are immutable and create new String objects for every bit of manipulation (which is bad for memory allocation), StringBuilder takes the existing string object and modifies it without creating new ones, saving memory. In Java, there is a reverse() function, but they want you to do it without it. 2) Single array, iterated via for loop. True is filled false is vacant. If false, check seats to the left -- if any are false, add to leftCount. Same for the right side. leftCount plus rightCount equals total. Return the seat with the largest total.

Loop through the array, skipping taken seats, count empty seats left (reverse loop from current seat), count empty seats right (loop from current seat). I would also add a bonus if the seat has empty seats to immediate left and right of it.

You have a scale and 8 balls. 1 ball weighs more than the others. What is the quickest was to determine to find the heavy ball.

1 Answer

If a clock has 360 degrees and its 3:15 how many degrees are between the minute and the hour hand.

2 Answers

Find the first occurrence of the intersection of two sets.

1 Answer

Basic OOP question: What are the 4? What is a constructor? Took apart my resume and asked me random questions about different languages and how I used them etc.

My expectation of salary. If I can accept salary below 6.7k with bonus.

1 Answer

You have a big gold bar and need to pay someone for 7 days. You can only 1/7 a day and can only cut the bar twice. How do you cut the bar?

1 Answer