Traverse nodes in a binary tree
Senior Interview Questions
341,158 senior interview questions shared by candidates
In a stream of integers from 1 to n, only one number will be repeated. How can you tell what that number is?
Is 3,599 a prime number? Yes or No. Explain.
There will be a meeting at New York and San Francisco offices. We will have to fly the participants to either one of these two offices. Let's say each office can accommodate half of the participants. Our goal is to assign each participant to an office in a way that the total travel cost for the company is minimized. What is this minimal cost? SF NY A 500 700 B 200 600 C 400 500 D 600 200 Output : 1400 (A:500 + B:200 + C:500 +D: 200)
How many golf balls can fit in a school bus?
The company is losing 1 million subscribers every month. What are the possible reasons for losing subscribers? Given the company is losing subscribers at this pace, how long can the company continue, until it starts making loss?
A company uses a format to exchange messages with us. You need to validate the input. The character encoding ASCII. Valid characters are between 0x20 (space) and 0x7E (~). write validate function to generate valid output or the error message.
Question from director: "... four people need to cross a bridge at night, there is only one flash light and only one person can walk on the bridge at a time. How do would you get them all across the bridge?"
What do you know about American Express & why do you want to work here?
What would you do, if you are in a situation where in you are requesting for a certain input from a very senior person in the management and he is not replying back to your emails, phone calls etc. And this input is crucial for you to meet a deadline.
Viewing 81 - 90 interview questions