1) Write a function that returns the second highest number within an array 2) Write a function that returns the most occurring letter in a string 3) Combine the above ^ into one function I would say in as much as leetcode helps, study data structures as much as possible because the questions may not even be there and you'd have to figure it out yourself
Developer Intern Interview Questions
5,259 developer intern interview questions shared by candidates
Basics of Java and some questioned about academic projects.
maps basic usage in c++
Given a string, return true if it's a palindrome. Only alphanumeric characters considered. Do this in one pass through the string.
What classes are you taking in class right now?
To find if the two words are anagram.
Mention one challenge you faced and how you overcame it.
you're given a 100 jelly-beans, 50 white and 50 black. You need to set up a game which uses two cups filled with those jelly-beans, you can put a random number of each in each cup, but each cup must have at least one jelly-bean inside. A customer comes up and pick randomly a jelly-bean (it can be white or black), puts it back and then bets money that they can pull out the same color again. As a game provided you want to set it in a way that you have a higher probability of winning the game over a customer. (Hopefully this makes sense)
Also asked about stack verses heap.
What is the difference between an interface and an abstract class? Given a string input, write a function that removes the character in the string that occurs the most, then return the resulting string.
Viewing 731 - 740 interview questions