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.
403A 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?
394There 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?
292What is the probability of pulling a different shape or a different colour card from a deck of 52 cards?
280Post New Data Science Questions
What are big data and data science?
Define a sql query? What is the difference between select and update query? How do you use sql in sas, python, r languages?
Explain the decision tree algorithm, and how is it different from the random forest algorithm?
What are you employed pip?
What are eigenvectors and eigenvalues?
Name three disadvantages of using a linear model?
What is the goal of the clustering?
What is column storage?
You own a clothing enterprise and want to improve your place in the market. How will you do it from the ground level ?
What Is An Avl Tree?
Are the expected value and mean value different?
There 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?
Can you explain difference between data modeling and database design?
Do we have different selection biases, if yes, what are they?
Explain how to define the number of clusters in a clustering algorithm?