Developer Interview Questions

640,302 developer interview questions shared by candidates

Given an integer, re-arrange the integer such that first and last digit will be at first and second, second and second last digit will be at third and fourth position from left of the re-arranges integer and so on. Example: Input -> 12345678, Output -> 18273645 Input -> 1234567, Output -> 1726354
avatar

Software Engineer, Backend

Interviewed at Zalando

3.6
Jan 9, 2019

Given an integer, re-arrange the integer such that first and last digit will be at first and second, second and second last digit will be at third and fourth position from left of the re-arranges integer and so on. Example: Input -> 12345678, Output -> 18273645 Input -> 1234567, Output -> 1726354

Viewing 951 - 960 interview questions

Glassdoor has 640,302 interview questions and reports from Developer interviews. Prepare for your interview. Get hired. Love your job.