Sr Software Developer Interview Questions

71,561 sr software developer interview questions shared by candidates

1st phase 1st technical interview: Problem was that given a positive integer n print all distinct ordered sets of positive integer which have sum equal n. eg:- for n=2 output: { [1, 1] } for n=3 output: { [1, 1, 1], [1, 2], [2, 1] } for n=4 output: { [1, 1, 1, 1], [1, 1, 2], [1, 2, 1], [2, 1, 1], [2, 2], [1, 3], [3, 1] }
avatar

Senior Software Engineer

Interviewed at Zenefits

3.8
May 27, 2015

1st phase 1st technical interview: Problem was that given a positive integer n print all distinct ordered sets of positive integer which have sum equal n. eg:- for n=2 output: { [1, 1] } for n=3 output: { [1, 1, 1], [1, 2], [2, 1] } for n=4 output: { [1, 1, 1, 1], [1, 1, 2], [1, 2, 1], [2, 1, 1], [2, 2], [1, 3], [3, 1] }

Viewing 371 - 380 interview questions

Glassdoor has 71,561 interview questions and reports from Sr software developer interviews. Prepare for your interview. Get hired. Love your job.