Engineer Senior Interview Questions

107,414 engineer senior interview questions shared by candidates

try to get a pattern out of string or json. ask you to translate numbers from 1 to 100 to names of numbers ( for example 34 translated to thirty-four). you need to come with a solution within 10 seconds, I am able to get it done within 2 minutes. That's not fast enough.
avatar

Senior Data Engineer

Interviewed at Meta

3.5
May 8, 2018

try to get a pattern out of string or json. ask you to translate numbers from 1 to 100 to names of numbers ( for example 34 translated to thirty-four). you need to come with a solution within 10 seconds, I am able to get it done within 2 minutes. That's not fast enough.

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?

Viewing 441 - 450 interview questions

Glassdoor has 107,414 interview questions and reports from Engineer senior interviews. Prepare for your interview. Get hired. Love your job.