Intern Software Engineer Interview Questions

9,351 intern software engineer 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 7851 - 7860 interview questions

Glassdoor has 9,351 interview questions and reports from Intern software engineer interviews. Prepare for your interview. Get hired. Love your job.