Solutions engineer Interview Questions | Glassdoor

Solutions engineer Interview Questions

863

solutions engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Given a list of integers and a target number, list all pairs that sum up to that number

8 Answers

Could you describe the onsite rounds a little bit more in detail please?? Thank you.

Could you manage it properly?

I can think of two solutions, one without additional memory and other with additional memory. First: With additional memory using a hash table. Just traverse the array. At each value see if target-value is in the hashtable, if it is print it, else insert the value to the hashtable. Just in one pass you can find the pair. This also prevents writing (a,b) and (b,a) which is essentially same two times. int main (int argc, char * argv[]) { vector v = {2, 3, 5, 1, 6, 9, 10}; int target = 12; map m; for(auto it = v.begin(); it!= v.end(); it++) { int diff = target - *it; if(m.find(diff) != m.end()) { cout v = {2, 3, 5, 1, 6, 9, 10}; int target = 12; std::sort(v.begin(), v.end()); int left = 0; int right = (int)v.size()-1; while(left < right) { if(v[left] + v[right] == target) { cout << v[left] << " ," << v[right] << "\n"; left++; right--; } else if (v[left] + v[right] < target) left++; else right--; } return 0; }

Write a program which stores the results of the numbers in a Fibonancci sequence in an array

9 Answers

What are the packets sent in a TCP connection?

4 Answers

What port does ftp use? (That seemed like a trick question because they only wanted one port)

4 Answers

You are to write pseudo code O(n) algorithm to maximize a one day trade. You will have 5 days of predicted prices and your algorithm must choose what day to buy and sell to maximize gains.

6 Answers

What is the fastest Big O equation?

4 Answers

Balance parenthesis by removal, generate fibonacci.

5 Answers

You have two balls on different tracks, traveling without friction. Ball A is on a straight track traveling from left to right, from point a to point b. Ball B is on a track with a dip, traveling from left to right, also from point a to point b (same horizontal distance). Which ball arrives at point b first (or fastest)?

4 Answers

in what cases sigkill fails

3 Answers

Given a 3-digit number, find the next number using the same digits. Eg. if number is 124, code must return 214.

4 Answers
110 of 863 Interview Questions