Software Engineer Intern Interview Questions

9,768 software engineer intern interview questions shared by candidates

Assume that the read file function does not exist but instead we have a function that given an input size in bytes with a maximum byte constraint and moves the cursor. If the number of bytes exceeds the file size, contents up to the end are returned and if the cursor is at the end of the file an empty string is returned. Write a new file read function using the helper function. Also, asked for the complexity of the function.
avatar

Software Engineer Intern

Interviewed at A9.com

3.7
Feb 21, 2014

Assume that the read file function does not exist but instead we have a function that given an input size in bytes with a maximum byte constraint and moves the cursor. If the number of bytes exceeds the file size, contents up to the end are returned and if the cursor is at the end of the file an empty string is returned. Write a new file read function using the helper function. Also, asked for the complexity of the function.

Viewing 8221 - 8230 interview questions

Glassdoor has 9,768 interview questions and reports from Software engineer intern interviews. Prepare for your interview. Get hired. Love your job.