Find a point within the triangle that minimize the sum of distances to vertices
Quantitative Interview Questions
10,163 quantitative interview questions shared by candidates
Expected probability questions through assessment.
The test had the following questions (easy to difficult) 1) Enter a dimension(number) and verify if it can be a 3 dimensional figure (minimum dimension is 2) Eg. if you enter 8 -> (2 x 2 x 2) -> Yes 10 -> (5x2) -> No 12 -> (2x2x3) -> Yes
Find the limit distributions of a markov chain.
Basic probability questions
What are the eigenvalues of the nxn matrix with n in the diagonal and 1 elsewhere?
1 question was based on wiggle sort, other was some dice problem.
Given a specific trading strategy and an input of stock prices, calculate the gain/loss at the end of the day
There is a one-dimensional garden of length n. In each position of the n length garden, a fountain has been installed. The fountain at the ith position has a value a[i] (1 <= i <= n) that describes the coverage limit of fountain i. A fountain can cover the range from the positon max((i-a[i]),1) to min ((i + a[i]),n). In the beginning, all the fountains are switched off. Determine the minimum number of fountains you need to activate so that the whole n length garden will b covered by water.
Write a Python function to rotate the elements of an N-by-N matrix by 90, 180, or 270 degrees in either a clockwise or counterclockwise direction.
Viewing 1271 - 1280 interview questions