Question bank
4,310 interview questions, answered.
Reference answers, what the interviewer is really testing, how it is graded, and the follow-ups that come next.
Easy 0Medium 5Hard 1
Filters · onDifficulty, topic, company
7 questions
- 1K-th Largest element in an arrayCoding·
Apple, Blinkit - 2Top k frequent elementsMediumCoding·
Amazon, Apple - 3If a competitor introduces a new feature, excluding user feedback and engagement metrics, what other data sources would you analyze to decide on developing a similar feature?MediumData·
SAP - 4You have a dataset comprising 1,000 avatar images and 100,000 user descriptions with associated avatar images. Create a model that recommends an image from a new set of 100,000 images for a user description.HardAI ML·
SAP - 5Design a system capable of identifying ships that deviate from their course using a dataset that tracks ship positions, recorded as tuples containing (ship_ID, x, y, z, timestamp), with irregular timestamp intervals.MediumSystem design·
SAP - 6Modify this PyTorch pseudo-code to perform negative sampling if the pos_ids are known: label #shape=[batch_s, pos_ids] hidden #shape=[batch_s, ch] logits #shape=[ch, C] out=np.dot(logits, hidden(X)) #shape=[batch_s, C] loss=cross_entropy(out, label)MediumProduct·
SAP - 7What's your favorite product and why?MediumProduct·
Accenture, Amazon