facebook phone interview

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2021-07-13Added By Anonymous
Source: Link

Company: Meta (Facebook)
Role: e3, e4
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

Given a number, do swap in place to find the number larger than the input.

For example:
Input: 3424861
Output should be: 3426148

Comments