Leetcode salesforce questions, Question: Write a function to check if a...