Flipkart Interview | Set 15 (For SDE-II) Improve Improve Like Article Like Save Share Report 1st round (machine coding) You are given a catalog of books, which have following attributes. Name Author Publisher Publish year Category Price Count (sold) Implement following APIs on top of this catalog addBookToCatalog(Book) searchBook(by partial book name/author) getMostSoldBooks(by author name/category, limit) Expectations: Maintain DB on memory Code should be readable. Design, handle naming convention,handle exceptions & should be running. 2nd round (code evaluation & discussion) Discussion on design (interfaces & extension) Discussion on data structures (trie) Discussion on sorting 3rd round (problem solving) Head → a → b .. → Tail Every node has a random pointer, pouting to a random node or null. You are given a dice (completely biased – you decide which one you want) What is the minimum number of dice tosses required to reach Tail from Head? Hint: Problem can be boiled down to snake&ladder problem, where forward pointer is a ladder & backward pointer is a snake. N people are there. knows(A,B) return true if A knows B, else false. Celebrity: A is called a celebrity If A knows none Everyone knows A Get celebrity, with less number of knows() method usage. Dictionary of words is given i.e. [“cat”, “dog”, “rat”, “catratdog”, “catter”] Compound word: A word, which can be split into more than 1 valid words get compound word, with longest string length. 4th round (Design) Design notification system (notify the customer with a message) Client (delivery boy, company updates etc) Services (Email, SMS, Watsapp) Scaling up, fault tolerance & failure management Flexible modifiability of clients & services 5th round(Senior Manager) His info & organization profile My intro Exciting tasks that did at the job? – Discussion technically Strengths & weaknesses Feedback to the manager, how an ideal manager should be? Why Flipkart? 6th round (HR – casual) How is the day, how are the interviews? Any offers? Compensation expected? All Practice Problems for Flipkart ! Last Updated : 27 May, 2019 Like Article Save Article Previous Flipkart On-Campus Recruitment Next Myntra Interview | Set 2 (For SDE-II) Share your thoughts in the comments Add Your Comment Please Login to comment...