Software Lead Interview Questions

2,961 software lead interview questions shared by candidates

First interview, 2nd question - discuss creating a method that receives multiple text files in this format: a, b, c, d where each letter represents a name. you need to count all names in all files. discuss the fact that you can't read the files into memory - use generators to have connections to the files, what if you have a lot of different customers, one with 10k files and one with 3 files and the first one called the method before the 2nd one - how do you prevent starvation for the second one?
avatar

Software Team Lead

Interviewed at Varonis Systems

3.9
Oct 7, 2025

First interview, 2nd question - discuss creating a method that receives multiple text files in this format: a, b, c, d where each letter represents a name. you need to count all names in all files. discuss the fact that you can't read the files into memory - use generators to have connections to the files, what if you have a lot of different customers, one with 10k files and one with 3 files and the first one called the method before the 2nd one - how do you prevent starvation for the second one?

2nd interview 2. design facebook newsfeed - only thing he cared about was about the "fanning out" part of calculating the feed as that's what facebook is doing - differentiating between "regular" people and "famous" people with a lot of followers, so when you calculate the news feed for someone upon login you'll take the regular people's posts from the db and the famous people's posts from somewhere else like a cache
avatar

Software Team Lead

Interviewed at Varonis Systems

3.9
Oct 7, 2025

2nd interview 2. design facebook newsfeed - only thing he cared about was about the "fanning out" part of calculating the feed as that's what facebook is doing - differentiating between "regular" people and "famous" people with a lot of followers, so when you calculate the news feed for someone upon login you'll take the regular people's posts from the db and the famous people's posts from somewhere else like a cache

Viewing 2101 - 2110 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 2,961 interview questions and reports from Software lead interviews. Prepare for your interview. Get hired. Love your job.