Write an algorithm to compute the nth fibonacci number
Interns Interview Questions
249,121 interns interview questions shared by candidates
They asked me what are my weaknesses
You have distribution with mean zero and standard deviation 1. Among 1000 data points, there are 3 smaller than -5 and 3 greater than 5. What is the distribution?
1. Find the minimum number of train stations required given a list of departure and arrival times. 2. The online screens had a couple of SAT style questions and some debugging questions.
What is the most appropiate DS to implement a T9 dictionary
Implement a data structure like a stack but with a way to find a max at O(1) time.
Given a linked list, flip every pair of nodes, such that if given a-b-c-d-e, return b-a-d-c-e.
What are a few of your hobbies?
Given two different strings, find the common characters between the two. For example if string A is "hello" and string B is "elbow" the common characters would be ['e', 'l', 'o']. Give a method that returns unique or duplicate entries.
Implement a stack that supports push, pop and mode(the one from statistics) operation. Gave an O(log n ) push and pop and O(1) mode operation.Another good question was implement atoi function. I assumed it as base 10 but was asked to support from binary to any base numbers(even base 50).
Viewing 1241 - 1250 interview questions