Software Applications Engineer Interview Questions

25,273 software applications engineer interview questions shared by candidates

You have a 3 litre container & a 5 litre container filled with water to the brim.You also have a 5 litre container which is empty.How would you extarct or make an exact amount of 4 litres of water in any of the containers. You are not allowed to throw the water outside the containers. You can transfer the water from 1 Container to the other.
avatar

Applications Engineer

Interviewed at Invensys

3.5
Jun 5, 2012

You have a 3 litre container & a 5 litre container filled with water to the brim.You also have a 5 litre container which is empty.How would you extarct or make an exact amount of 4 litres of water in any of the containers. You are not allowed to throw the water outside the containers. You can transfer the water from 1 Container to the other.

Given a single-line text string and a maximum width value, write the function 'string justify(string text, int maxWidth)' that formats the input text using full-justification, i.e., extra spaces on each line are equally distributed between the words; the first word on each line is flushed left and the last word on each line is flushed right.
avatar

Software Engineer - Applications

Interviewed at LinkedIn

3.8
Jul 31, 2012

Given a single-line text string and a maximum width value, write the function 'string justify(string text, int maxWidth)' that formats the input text using full-justification, i.e., extra spaces on each line are equally distributed between the words; the first word on each line is flushed left and the last word on each line is flushed right.

Viewing 31 - 40 interview questions

Glassdoor has 25,273 interview questions and reports from Software applications engineer interviews. Prepare for your interview. Get hired. Love your job.