You have a function which gets k as input and in o(1) time returns a random number between 1 to k. Create a function that returns a random permutation (a list of the numbers 1 to n in a random order), optimize for speed (I think O(n) is best).
Data Interview Questions
132,938 data interview questions shared by candidates
Palindrome , Sudoku
Various business and SQL questions, I get the feeling these change for each candidate and in any case I don't remember them.
Tell me about yourself
How might you determine if the size of a specific item is a significant feature in determining the customer's calculated propensity to buy it?
How to verify that a catalog mailed to customers has been well-received?
Given a string of 1,0, or ? print out the combinations. Treat ? as wildcard which could be
What are different Time Series forecasting techniques? Explain PCA with equations? How to solve Multicollinearity? What algorithm you would use to solve driver accepting a requesting? Which supervised algorithm you would pick to solve the above problem? How do you compare the results of the algorithm? Coding question on patients arriving at hospital and doctor attending the patients
Pseudo-code verbal: print 1 through 100, and for every number that's divisible by 2 print A, for every number that's divisible by 5 print B, and for every number that's divisible by 2 and 5 print AB
find the avg of a list. data mining
Viewing 781 - 790 interview questions