When you have multiple classes in C++ in a hierarchy, what was the way in which the ctors and dtors are called.
Programmer Intern Interview Questions
716,506 programmer intern interview questions shared by candidates
Why is your average pointer around 8 only?
Find the bug in code. int sum; for (int i=1; i<11; ++i) sum=sum+i; printf("%d",sum);
Timed leetcode style questions. Rotate an array 90 degrees, implement an hashmap that allows for changing keys and updating all values.
Logical Reasoning Goal: The person to reach 50 first wins. Rules: Play with another person, say a number, and the other person can say any number upto 10 over your number.
Given an array of n coins, determine the minimum number of flips for all coins to have the same side (all heads or all tails).
Give the type of a binary tree and an algorithm to compute its depth
I had not expected to be asked logic questions, which made me nervous. The first one was a weigh nine items on a balancing scale to find the odd one out in the fewest scale uses
He asked me about Linked List vs Arrays? I have not thought much about this since freshman year of college.
What is your age
Viewing 1351 - 1360 interview questions