You have a potentially very-large set of documents, which are potentially very-large, and contain text. For searching these documents, they've been pre-processed into a (very-large) table mapping words to the set of documents that contain each word. E.g. (word) : (documents (referenced by ID) containing that word) Apple: 1, 4, 5, 6, 32 Banana: 5, 6, 7, 9, 32 Cantaloupe: 1, 2, 6 ... Clients will pass in a set of words (e.g. {apple, cantaloupe}), and want the set of document IDs that contain all the words. (e.g. {apple, cantaloupe} -> {1, 6}) Design a distributed system to implement this, bearing in mind that the number of documents, the number of words, and the number of document-IDs-per-word are potentially really, really big.
Ingegneria Interview Questions
375,529 ingegneria interview questions shared by candidates
I show them my IOT project which works with the MQTT protocol. They ask what other protocols are available for IOT.
What is systems engineering?
Write a function to remove repeated spaces from a string (ex: "one two three four" -> "one two three four")
Given a list of coins and the a total amount. Calculate the minimum number of coins can be used to reach the total amount.
Difference between an array list and a linked list.
"what do you do if your manager says your code is a piece of sh*t?"
Input a matrix, where every number is greater or equal to the numbers on its right and bottom. Output a sorted array
Given an english sentence how can you tell if it is valid or not. For Eg. "Iworkatuber" is a valid sentence "Iworkatasdf" is an invalid sentence.
Write a class that can take in an endless stream of numbers, one integer at a time, can efficiently store the most recent n numbers and report their average in O(1) time.
Viewing 891 - 900 interview questions