You can divide a clock face using two lines. How can you do it so the grouped numbers sum equally.
Engineer Software Interview Questions
419,802 engineer software interview questions shared by candidates
Given a list of sorted words, output the order of the letters used to sort them.
What happens if one resource is waiting on another resource to finish, but that SAME resource happens to be waiting on that other same resource....
The question I can remember is explain how a TCP/IP connection is started at the protocol level. .
Write a function that receive 3 numbers and return the medium number
Are you married? Are you available?
Given an N x M matrix A of non-negative integers representing the height of each unit cell in a continent, the "Blue lake" touches the left and top edges of the matrix and the "Red lake" touches the right and bottom edges. Water can only flow in four directions (up, down, left, or right) from a cell to another one with height equal or lower. Find the number of cells from where water can flow to both the Blue and Red lake.
Having a list of candidates and their vote count. Find top x candidates with highest number of votes within given period of time.
1. Given a node in a BST where each node has a pointer to its parent, find the next largest node 2. Implement String encode and decode
Write a function that given an array of numbers, return the highest occurrence of a number. Say 6 showed up the most (8 times) return 8. I over thought the question. This is in C and I'm guessing they just wanted a me to allocate a full array (256 for 8 bit) and +1 an entry whenever that number occurs (histo[number]++) while keeping the highest occurrence in a return variable if (histo[number] > highest) highest++;. I thought the solution was way too simple (like 6 lines tops) so I thought of a solution that would work for very large numbers for which a full array couldn't be allocated (64 bit = 2^64 array for instance). It wasn't as memory and computationally efficient as allocating a full array for lower bit number ranges (8, 16, 32) but it was a more robust and complete solution. Anyways, I guess he didn't see it that way. They turned me down. 8( So warning.. don't overthink a question on the phone interview. They're more likely to just want the 6 line quick answer on the phone interview. I think the phone interview is purely to weed out the complete idiots. If you overthink what they think is an easy problem then you look like a complete idiot. Onsite is be more challenging. I did the onsite a few years ago and the solutions and implementation required some thought.
Viewing 2971 - 2980 interview questions