Implement queue with stacks in O(1) push/pop complexity.
Internship Interview Questions
104,937 internship interview questions shared by candidates
Tell me about yourself and a time you worked in a team
It wasn't super difficult but I was asked to write a prime factorization function: // print the prime factors of the input number. void primeFactorsPrint(int num)
They asked some pretty standard interview coding questions. They asked a lot about my experience and the projects that I had worked on and the team dynamics associated with that.
Take an array of strings with web traffic data and sort it
Why are you interested in this position? I was provided with a prompt for a coding problem, and asked to solve it.
You have 8 marbles. One is heavier than the rest. You have a balance scales and you can use it only twice. Can you determine which marble is heaviest?
What are you interested in outside of work?
Discribe about one of your best project
The most difficult question to answer was what I found most interesting about the Hershey company, this was not a very difficult question to answer, but it was the most difficult from what I was asked.
Viewing 1991 - 2000 interview questions