New Grad Software Engineer Interview Questions

2,866 new grad software engineer 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 1211 - 1220 interview questions

Glassdoor has 2,866 interview questions and reports from New grad software engineer interviews. Prepare for your interview. Get hired. Love your job.