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.
401A 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
Why data science and data scientists are needed?
What is a joke that people say about you and how would you rate the joke on a scale of 1 to 10?
Have you used sampling? What are the various types of sampling have you worked with?
How do data scientists code in r?
Which laptop is best for data analysis?
What is the good measure of influence of a Twitter user?
What are an eigenvalue and eigenvector?
What motivates you to transition from academia to data science?
You have two tables-the first table has data about the users and their friends, the second table has data about the users and the pages they have liked. Write an SQL query to make recommendations using pages that your friends liked. The query result should not recommend the pages that have already been liked by a user.
How can you deal with different types of seasonality in time series modelling?
Explain auto-encoder
What are the different deep learning frameworks?
What is the basic responsibility of a data scientist?
What are the various steps involved in an analytics project?
In any 15-minute interval, there is a 20% probability that you will see at least one shooting star. What is the probability that you see at least one shooting star in the period of an hour?