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.
Programmer Analyst Ii Interview Questions
716,595 programmer analyst ii interview questions shared by candidates
5 Guys went for dinner.. and were going to sit on a round table having 5 seats.. their birthdays are not same .. probability of getting them seated in inc/dec order of their age.
phone screen question: what is the derivative of veloctiy?
1. How many bits in a byte? 2. What's the integral of velocity?
String s = "Hey"; s = s.concat(" Guys") sop(s)
Which is more efficient for searching, linked list or array?
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?
Design a data structure where insertion, deletion, data access and get random element are all done in O(1), i.e., constant time. (Without using STL or Hash tables)
Difference between an array list and a linked list.
Viewing 1471 - 1480 interview questions