Senior Engineer Interview Questions | Glassdoor

Senior Engineer Interview Questions

8,333

Senior engineer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

Considering a 2-dimension matrix that can only be traversed by 1 adjacent position at a time and never diagonally. Create an algorithm to traverse that matrix from its upper-left corner to its lower-right corner using the shorter possible path in the most efficient way.

5 Answers

Find the largest sum of contiguous numbers in an array

6 Answers

If you want to distribute a large file (gigabytes) in a large (100+ machines) park how do you do it?

5 Answers

Look for a string in a very long string - a needle in a haystack. Write the program in pseudo-code.

5 Answers

Find the least common root for 2 numbers in a BST

5 Answers

Consider an X x Y array of 1's and 0s. The X axis represents "influences" meaning that X influences Y. So, for example, if $array[3,7] is 1 that means that 3 influences 7. An "influencer" is someone who influences every other person, but is not influenced by any other member. Given such an array, write a function to determine whether or not an "influencer" exists in the array.

12 Answers

Convert a string to an integer

6 Answers

Explain the data structure you would use to implement pop() and push(Object, int) for a Priority Queue.

6 Answers

What sort would you use if you had a large data set on disk and a small amount of ram to work with?

5 Answers

Pets +------------------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | breed | varchar(255) | NO | | NULL | | | acquisition_date | datetime | NO | | NULL | | +------------------+--------------+------+-----+---------+----------------+ Customers +-------+--------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------+--------------+------+-----+---------+----------------+ | id | int(11) | NO | PRI | NULL | auto_increment | | name | varchar(255) | NO | | NULL | | +-------+--------------+------+-----+---------+----------------+ Sales +-------------+----------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------+----------+------+-----+---------+-------+ | customer_id | int(11) | NO | PRI | NULL | | | pet_id | int(11) | NO | PRI | NULL | | | date | datetime | NO | | NULL | | +-------------+----------+------+-----+---------+-------+ Q1 How many pets of each breed has the shop ever owned?

4 Answers
2130 of 8,333 Interview Questions