Which of the following gives you the highest expected value: the square of a singular die roll, the product of two dice, or the square of the median of three dice roll?
Intern Interview Questions
248,705 intern interview questions shared by candidates
Write an algorithm to construct run length encodings of arbitrary strings where repeated instances of the same character get replaced with [number of times character appears] + [character]. For example, "xxxxxx" becomes "6x". It should be unambiguous and the compressed string should always be shorter.
Use basic arithmetic operations (+-*/) to implement sqrt function.
Given N credits cards, determine if more than half of them belong to the same person/owner. All you have is an array of the credit card numbers, and an api call like isSamePerson(num1, num2).
Given a string write a function which prints all the subsets of the string. Now make the function to return only unique solutions. For example if they give you "abc" you print out a ab abc ac b bc c Now for the unique solution constraint, if they give you "aba" the output should be: a ab aba b
Signed an NDA, so I will not post the questions.
I signed NDA for online assessments. For the phone interview, questions about DS and string manipulation. Should be good if can solve medium level HackerRank or Leetcode problems.
Implement integer division without using / or %. Questions about running time. Can you do it faster?
What technical skills you did learn in your previous roles?
Describe someone you admire
Viewing 101 - 110 interview questions