Senior Software Engineer Interviews

Senior Software Engineer Interview Questions

"Senior software engineers are the most experienced member of a software team and usually carry the most responsibility and authority of that team. Because of this, interviews will be designed to find candidates who have expert knowledge of the field and years of experience as a software engineer. Expect to be asked tough technical questions and to give examples of previous projects that you have worked on."

67,191 senior software engineer interview questions shared by candidates

Given a string of words and a maxWidth, write a method that inserts new lines where appropriate to perform a word-wrap. (Wrap on word boundaries, assume " " is fine). Now, how does your implementation handle string with multiple spaces between words ... Are those extra spaces lost or preserved?
avatar

Senior Software Engineer

Interviewed at Apple

4.1
Nov 24, 2014

Given a string of words and a maxWidth, write a method that inserts new lines where appropriate to perform a word-wrap. (Wrap on word boundaries, assume " " is fine). Now, how does your implementation handle string with multiple spaces between words ... Are those extra spaces lost or preserved?

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 341 - 350 interview questions

Glassdoor has 67,191 interview questions and reports from Senior software engineer interviews. Prepare for your interview. Get hired. Love your job.