Senior Member Technical Staff Interview Questions

623 senior member technical staff interview questions shared by candidates

Telephonic Interview: Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and is greater in value than n. If no such positive 32-bit integer exists, you need to return -1. Example 1: Input: 12 Output: 21 Example 2: Input: 21 Output: -1
avatar

Senior Member of Technical Staff

Interviewed at Salesforce

4
May 27, 2020

Telephonic Interview: Given a positive 32-bit integer n, you need to find the smallest 32-bit integer which has exactly the same digits existing in the integer n and is greater in value than n. If no such positive 32-bit integer exists, you need to return -1. Example 1: Input: 12 Output: 21 Example 2: Input: 21 Output: -1

Viewing 41 - 50 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 623 interview questions and reports from Senior member technical staff interviews. Prepare for your interview. Get hired. Love your job.