case questions such as how many degrees are between the hands that make up 2:45 on a clock was challenging.
Intern Interview Questions
248,932 intern interview questions shared by candidates
"What do you know about our company?" "Do you have some questions for me?"
Questions were easy. Just normal interview questions.
How would you implement int atoi ( const char * str );
I had one question for each interview and both were probability puzzles. Here is the tougher one: you have a bag of N strings, and at random, you pull out a end. You pull out another end and you tie the two ends together. You take another two string ends and tie them together. You repeat this until there are no loose ends left to pull out of the bag. What is the expected number of loops?
I was to asked to code a function that computes the product of two numbers in string form and outputs the result in the string form.
Imagine we're in a 30 mile race, where I'm traveling 45mph the entire time and you travel 30mph for the first 15 miles. How fast would you have to travel the remaining 15 miles to beat me?
What is the difference between a FlipFlop and a latch?
How many layers are there in OSI
Connect Four is a game where two players take turns dropping their color discs into a vertically suspended grid. The game ends when a player adds a disc to the playing grid that connects four discs of their color. The connected discs can be in a horizontal, vertical or diagonal line. Write a function to be called after every turn that returns true if the game is over (and false otherwise).
Viewing 351 - 360 interview questions