I interviewed for a Salesforce Trainee position at the Jaipur office in December . The interview process consisted of an online assessment and a technical round.
The online assessment included 57 questions, 3 coding questions, and the rest were multiple-choice. The multiple-choice questions covered topics like aptitude, HTML, CSS, JavaScript, SQL, CSS, Java (OOPs), and C. The coding questions involved two dynamic programming problems and one string manipulation problem. I was able to partially solve one string question and attempted the dynamic programming questions but didn't complete them. I passed the online assessment and moved to the next round.
The technical round was conducted at the MTX office in Jaipur. The interviewer asked me to introduce myself and explain my projects. I explained two projects in detail, including the functionality, technology stack used, and how they worked. The interviewer then asked me to design a login page using HTML. I was initially caught off guard as I wasn't expecting this question and couldn't recall the last time I designed a table in HTML. I managed to write some code using <td>, <tr>, and </tr> but forgot to use <th> for the table name. The interviewer asked me what <td> was, and I incorrectly stated it was the table name. This was my first mistake.
The interviewer then asked me what I was good at. I mentioned problem-solving, hoping he would ask DSA questions. I had heard that Salesforce asks easy DSA questions, and I felt confident in my ability to solve them. He asked me to find the first missing number in a sorted array. I initially used a set with two loops, one for insertion and one for iteration to check if the element was present in the set. The interviewer asked why I was using two loops, so I optimized it to one loop. However, I believe I provided the wrong solution using one loop, but the interviewer didn't react. He then moved on to the next question.
The interviewer asked me to list all the subarrays of an array. I was familiar with this question and asked him about some of the outputs. He then asked me to code the solution, and I explained my approach. He said he wanted subsets, and I mentioned that we would need to use recursion. He then stated that I didn't know what a subset was. I was confused as he seemed to be contradicting himself. He explained that for an array like [1, 2, 3], 1, 1 would also be a subset. I was unsure how to proceed and was struggling to come up with a solution within 30 seconds. He then said I only needed to make pairs and sum them. I started writing down all the possible pairs, but he asked if I was sure I had listed all of them. I mentioned that [1, 2] was a pair, but he said that [2, 1] should also be considered a pair. I was confused and struggled to understand his requirements. After 20 seconds, he moved on to the next question.
He then asked me which data structures I was comfortable with, such as stacks, queues, and linked lists. I said I was good with arrays and then mentioned linked lists. He asked me to traverse a linked list, and I wrote the code within a minute. He then asked me to explain OOPs in detail. I explained it in detail for about 15 minutes before he stopped me because time was running out. He asked if I had any questions for him, but I declined as I was already frustrated. I received a rejection notification about 50 minutes later.
I believe I was prepared for the interview but made some mistakes, such as not knowing the HTML tag, not being able to directly apply an optimized approach for the missing number problem, and could have communicated better. However, I felt that the interviewer was not patient and didn't give me enough time to think. He also seemed to have a different understanding of what a subset is. Overall, I was disappointed with the interview experience.