Salesforce | MTS | Hyderabad | Reject

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2024-06-14Added By Anonymous
Source: Link
Experience - 4 years Previous Compnay - Logistics Product Mode of application - Salesforce careers Final Verdict - Gave 2 Rounds and Rejected Round 0 (Coding - Online Assessment) Question 1 : Easy question arrays Question 2 : Number of subarrays with Product less than K Coding time - 60 mins Solved both and was called for Interview at Hyderabad campus. Round 1 (Coding) Question 1: Intersection of 2 arrays with numbers (easy) Question 2: Given a list of reportee, manager.Find Total reportees for each employee (should include complete hierarchy not only direct reportees) eg: [[a,b],[a,c],[c,d]] output: a- 2, b-0, c-1, d- 0 Detailed - Solved first question using hash map, didn't really write code.Solved second question with graph (BFS).We iterate for each employee and BFS his reportees.This Interview went well and was called for Round 2 Coding time - 45 mins Introduction time - 15 mins Round 2 (Coding + Design) Question 1: https://www.geeksforgeeks.org/find-largest-word-dictionary-deleting-characters-given-string/ Question 2: Redis fundamentals + Design of LRU cache Detailed - Round did not go well as i was not thinking of basics but different datastructures like Trie for question 1.Always evaluate the problem thoroughly before jumping onto solution.Start with bruteforce, take hints from Interviewer.Remember, O(n*k) might also be best solution for some questions :) Interviewers were very vocal and helpful.They always expect basics to be clear on and then build on top of it rather than jumping into solutions. Coding time - 45 mins Introduction time - 15 mins
Comments