Anonymous

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.
CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.
Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.
Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.
Yes and sorry if I wasn't clear but this was specifically about that section at the bottom of product description page where we show people who bought this product also bought these... and question was how would you design storage and data structure to enable fast retrieval of products so that page rendering isn't slowed down.
- Anonymous February 10, 2017My solution was to have a graph in cache where each product has edges to its related 20 products and a hashmap with product id and product node in there so we can quickly retrieve current product using product id and then its related 20 products using edges. Then he asked me to implement a class for this and then asked me how would you test this.
He then dug deeper into how many products would you store and how much memory would you need? etc.