There were 2 questions I tackled. The first was a power function that needed to be implemented in logn time and a Java encapsulation question (asking questions about making arrays inaccessible from outside the object).
Intern Interview Questions
248,749 intern interview questions shared by candidates
Three coins are in a bag. The first coin flips heads with probability 50%, the second coin flips heads with probability 60%, and the third coin flips heads with probability 70%. I pull out a coin and flip heads. If I flip this coin again, what is the probability I will get heads?
Expected value of number of heads if you flip 4 coins and can flip over any pair of two tails.
What would you say is your greatest weakness?
Given a string and a dictionary. Break the string into meaningful words.
Print out a binary tree level by level
Given an unsorted array, extract the max and min value using the least number of comparison.
First question was to find all numbers that occurred an odd-number of times in an array and second question was implement a stack that could return the largest number in the stack at anytime.
Given a string of Rs and Gs, design an algorithm to produce a string with Rs in the front and Gs after that. The number of flips from Rs to Gs or otherwise should be minimum. The number of Rs and Gs in the end need not be same as that in the beginning, however the length of the entire string should be the same.
Write a function that takes in an array and repeats an integer that appears the most.
Viewing 191 - 200 interview questions