Write a program to segment a long string into a group of valid words using Dictionary. The result should return false if the string cannot be segmented. Also explain about the complexity of the devised solution.
436A stranger uses a search engine to find something and you do not know anything about the person. How will you design an algorithm to determine what the stranger is looking for just after he/she types few characters in the search box?
422There are 8 identical balls and only one of the ball is slightly heavier than the others. You are given a balance scale to find the heavier ball. What is the least number of times you have to use the balance scale to find the heavier ball?
333What is the probability of pulling a different shape or a different colour card from a deck of 52 cards?
318Post New Data Science Questions
What do you understand by ensemble learning?
Explain the differences between univariate, bivariate and multivariate analysis?
why do you need to perform resampling?
Define some key performance indicators for the product
How to install the ggplot2 package?
What kind of product you want to build at LinkedIn?
What cross validation technique would you use on time series data set? Is it k-fold or loocv?
How to run a pycharm debugging?
Explain the difference between data science, machine learning and artificial intelligence?
What would you add to Facebook and how would you pitch it and measure its success?
Why L1 regularizations causes parameter sparsity whereas L2 regularization does not?
A dice is rolled twice, what is the probability that on the second chance it will be a 6?
How many big Macs does McDonald sell every year in US?
How can you compare a neural network that has one layer, one input and output to a logistic regression model?
What is meant by selection bias?