It was a coding round. A gentle lady came from the Salesforce team and told that from this year onwards, Salesforce has decided to judge only on basis of your coding skills. So they are not giving any objective type questions.
The questions were :
1.] Given a tree where each node has a number and a character stored in it.
Input : <node_no> <char>
Output : number of nodes in the sub-tree of that node having character in them as <char>
2.] A man went to an island & finds stones having some numbers on it. Put the stones logically into bucket. Two buckets can be merged if they having contiguous numbers.
E.g. He found 1, 7, 8
[[1, 1], [7, 7]]
[[1, 1], [7, 8]]
3.] Some Doraemon training to find power of Kth doraemon. Simple if-else & sort.
Next Rounds :
Next rounds were interview rounds and were 3 in numbers(2 technical interview rounds and 1 HR round).
Two students were selected & I was 50% of the selected ones 🙂
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready. To complete your preparation from learning a language to DS Algo and many more, please refer Complete Interview Preparation Course. In case you are prepared, test your skills using TCS, Wipro, Amazon and Microsoft Test Serieses.