Filter interviews by
1 hour , dsa, hackerearth, medim to hard
Coding test based on OOP and data structure
Coding test based on data structure and algorithm
Keep learning about salesforce 5 rules and coding
I applied via campus placement at Jagan Institute of Management Studies (JIMS) and was interviewed in May 2024. There were 2 interview rounds.
Logical reasoning aptitude english maths
Data structure algorithms
Salesforce interview questions for designations
I applied via Campus Placement and was interviewed in Sep 2023. There was 1 interview round.
Probability related question
Get interview-ready with Top Salesforce Interview Questions
I was interviewed in Aug 2021.
Round duration - 75 Minutes
Round difficulty - Medium
This was an online coding round where we had 2 questions to solve under 75 minutes. The questions were of Medium to Hard level of difficulty and I found the problem statements to be a bit tricky.
Given an integer N
representing the number of pairs of parentheses, find all the possible combinations of balanced parentheses using the given number of pairs.
Approach :
1) First make a recursive function, say ‘solve’ taking the number of opening brackets ‘opening’, number of closing brackets ‘closing’ output string ‘output’, and an array of strings ‘ans’ as arguments.
2) Make the base condition as if ‘opening’ = 0 and ‘closing’ = 0 then push the output string in the ‘ans’ and return.
3) If ‘opening’ is not equal to zero then call the ‘solve’ function recursively by decre...
Given three non-negative integers X
, Y
, and Z
, determine the longest happy string. A happy string is defined as a string that contains only the letters 'a', 'b', and...
Approach :
1) Let the 'X', 'Y', 'Z' be the maximum availability ‘a’, ‘b’, ‘c’ respectively.
2) Declare an empty string say ‘S’ to store the answer string.
3) Run a loop till (x + y + z)
3.1) If ( 'X' >= 'Y' and 'X' >= 'Z' and the last two letters in ‘S’ is not “aa” ) or ( the last two letters in ‘S’ are “bb” or “cc” and 'X' is nonzero).
Add ‘a’ to ‘S’, and update 'X' to ‘x - 1’.
3.2) If ( 'Y' >= 'X' and 'Y' &g...
Round duration - 60 Minutes
Round difficulty - Medium
This round had 2 preety decent questions of DSA . The interviewer was also quite freindly and helpful. I was able to solve both the questions under the given time frame and also discussed their respective time and space complexites.
Given a graph with 'N' nodes and 'M' unidirectional edges, along with two integers 'S' and 'D' representing the source and destination respectively, your task is to find all possible p...
Approach (Using Backtracking) :
Let ‘allAllPaths(n, m, edges, src, des)’ be the function that returns a 2D array that contains all the possible paths.
1) Take the following variables: 2D array ‘Graph’, to store graphs and ‘Visited’ array to mark each node whether it is visited or not.
2) Clear graph, initialize the visited array to false.
3) Run a loop from 0 to 'm' :
3.1) Add the undirected edge between edges[i] [0] ...
Determine if a given singly linked list of integers forms a cycle or not.
A cycle in a linked list occurs when a node's next
points back to a previous node in the ...
Approach :
1) Initialize slow and fast at the beginning.
2) Start moving slow to every next node and moving fast 2 jumps, while making sure that fast and its next is not null.
3) If after adjusting slow and fast, if they are referring to the same node, there is a cycle otherwise repeat the process
4) If fast reaches the end or null then the execution stops and we can conclude that no cycle exists.
TC : O(N), where N =
Round duration - 60 Minutes
Round difficulty - Medium
This round had 1 question related to BST followed by some standard questions from OOPS and Operating Systems.
You are given the ‘root’ of a Balanced Binary Search Tree and an integer ‘target’. Your task is to determine if there exists any pair of nodes such ...
Approach :
1) Maintain a hash-map ‘mp,’ which keeps track of the nodes we have visited.
2) We will use a helper function, ‘helper’.
3) ‘helper’ takes ‘root,’ ‘target,’ and ‘mp’ as input parameters, where ‘root’ is the root of the binary tree, ‘target’ is the value which should be equal to sum of 2 nodes and ‘mp’ is the hash-map we use to keep track of nodes visited.
3.1) For a given root ‘toFind’ value is the other h...
OOP is used commonly for software development. One major pillar of OOP is polymorphism. Early Binding and Late
Binding are related to that. Early Binding occurs at compile time while Late Binding occurs at runtime. In method
overloading, the bonding happens using the early binding. In method overriding, the bonding happens using the late
binding. The difference between Early and Late Binding is that Early Binding uses the...
Multitasking : It refers to the process in which a CPU happens to execute multiple tasks at any given time. CPU
switching occurs very often when multitasking between various tasks. This way, the users get to collaborate with
every program together at the same time. Since it involves rapid CPU switching, it requires some time. It is because
switching from one user to another might need some resources. The processes in mult...
Round duration - 30 Minutes
Round difficulty - Easy
This was my last round and I hoped it to go good just like the other rounds. The interviewer was very straight to point
and professional. The interview lasted for 30 minutes.
If you get this question, it's an opportunity to choose the most compelling information to share that is not obvious from
your resume.
Example :
Strength -> I believe that my greatest strength is the ability to solve problems quickly and efficiently, which makes me
unique from others.
Ability to Handle Pressure -> I enjoy working under pressure because I believe it helps me grow and become more
efficient .
Tip : Emphasi...
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
I was interviewed in Feb 2021.
Round duration - 75 Minutes
Round difficulty - Hard
Online Round - 2 questions.
75 minutes
You are provided with a positive integer N. The goal is to generate the lexicographically largest sequence of length 2*N - 1, containing integers ran...
Approach:
In this approach, we will be trying to find the valid sequence using backtracking. We will be creating our sequence from left to right and will be trying to fix the biggest possible integer yet to be used at the current position. We are fixing the biggest integer first because that will give us the lexicographically largest sequence that is possible. For every position, we will be fi...
You have a string of balls on the table called BOARD
and several balls in your hand represented by the string hand
. The balls can be of the colors red(R), blue(B), green(G), wh...
The idea here is to use recursion. At each step, we plan to insert the remaining balls in the string hand to the string board. Now the question arises, in which position do we have to insert the ‘i’th character of the string hand? The answer is simple; we have to insert ‘i’th character to all the positions on board to get all possible answers. That’s why we are using the recursive approach. After inse...
Round duration - 40 Minutes
Round difficulty - Hard
1 Coding problem and 1 OOP problem
Ninja is hungry and wants to eat his favorite chocolates, but his mother won't let him because he has already eaten enough. There are 'N' jars filled with chocolates...
The brute force approach to this problem is that we continuously iterate on the speed of eating chocolates till Ninja can eat all the chocolates within ‘M’ Minutes.
Algorithm:
Round duration - 40 minutes
Round difficulty - Hard
Resume based problems, OOPs, DBMS, OS problems
Round duration - 15 Minutes
Round difficulty - Hard
Typical HR interview round. Short and crisp
Tip 1 : Never leave any topic from any chapter / Subject
Tip 2 : Learn to explain your thoughts well
Tip 3 : Learn from previous experiences / interviews / problems asked.
Tip 4 : Atleast 4 projects in Resume
Tip 1 : Atleast 4 projects on Resume
Tip 2 : Do not write false things. You always get caught. Be genuine.
Top trending discussions
based on 7 interviews
1 Interview rounds
based on 10 reviews
Rating in categories
Technical Support Engineer
927
salaries
| ₹12 L/yr - ₹24.5 L/yr |
Technical Consultant
324
salaries
| ₹13.8 L/yr - ₹30 L/yr |
Member Technical Staff
289
salaries
| ₹18.8 L/yr - ₹60 L/yr |
Senior Member of Technical Staff
242
salaries
| ₹30 L/yr - ₹100.4 L/yr |
Senior Technical Consultant
225
salaries
| ₹23 L/yr - ₹45 L/yr |
SAP
Zoho
Oracle
Adobe