Three questions; two on algorithms and one on debugging.
Engineer Interview Questions
844,678 engineer interview questions shared by candidates
While explaining differences between TCP and UDP, when I mentioned that UDP is more convenient for video streaming websites as video will keep streaming even if packages get dropped. Interviewer asked me isn't that the opposite of what we want as this could hamper the video quality.
If you have a 5 gallon jug and a 3 gallon jug how do you get exactly 4 gallons?
Given two strings with the same characters except for one additional character in one string, return that additional character.
Give you a 16 bit binary number. How do you change the 11th and 12th bit to some given number.
Given an array of numbers, return the longest substring in which the difference between every consecutive number pair varies difference in sign (I.e. +-+-)
Implement a Sudoko puzzle validator - given a 9x9 matrix of numbers (1-9) and "." for empty spaces, return true for a valid puzzle matrix and false if it would not be a valid sudoku puzzle.
Q. Write a function that takes two trees as an argument and returns true if they are equal.
The problems are not hard.
Given a list of number from 1 to N. All of them written three times, except one number (written 1 or 2 times). Find the number
Viewing 2061 - 2070 interview questions