Software Engineer New Grad Interview Questions

3,069 software engineer new grad interview questions shared by candidates

I was asked there is a directory and inside that directory there can be multiple directories as well as multiple files and each file has a size, I need to calculate file size of entire directory. Follow up question -> Implement a cache. If the file size has been calculated give it from the cache or else calculate the file size and store it in the cache
avatar

Software Engineer New Grad

Interviewed at Google

4.4
Feb 24, 2025

I was asked there is a directory and inside that directory there can be multiple directories as well as multiple files and each file has a size, I need to calculate file size of entire directory. Follow up question -> Implement a cache. If the file size has been calculated give it from the cache or else calculate the file size and store it in the cache

Viewing 1301 - 1310 interview questions

Glassdoor has 3,069 interview questions and reports from Software engineer new grad interviews. Prepare for your interview. Get hired. Love your job.