I had a Salesforce OA in June 2023 Recently.
Three questions were asked, two of which were of medium difficulty, and one was a bit harder. However, I was able to solve all the questions within the given time. Although I did not receive an interview call, it was still a good experience.
The first question was a basic Binary Search on answer type of question, and I was able to solve it quickly.
The second question was a string question, and I solved it using a greedy approach with 2-3 edge cases. It was also a straightforward question.
The third question involved number theory and was a bit tough. I am attaching a Codeforces link to a problem that was similar to that. Luckily, I had seen the question before, so I was able to solve it within the time limit.
Overall, the OA was a valuable experience, and I look forward to improving my skills for future opportunities.