Salesforce – Overall Interview Questions + Coding Solutions – codewindow.in

Hot Topics Salesforce Solution Technical Round Question 1 Reverse the words in a string. Answer #include <bits/stdc++.h> using namespace std; void reverseWords(string s){ vector<string> tmp; string str = ""; for (int i = 0; i < s.length(); i++) { if (s[i] == ‘ ‘) { tmp.push_back(str); str = ""; } else str += s[i]; } […]

Salesforce – Overall Interview Questions + Coding Solutions – codewindow.in Read More »