Programming Fundamentals in Python and Go Questions
Practical programming skills in Python and Go including implementation and reasoning about common data structures and algorithms, string manipulation, file input and output operations, and idiomatic error handling. Candidates should understand time and space complexity, write clear and maintainable code, and be comfortable with language specific constructs such as generator and comprehension patterns in Python and goroutines and channels in Go. Interviewers commonly assess these skills with short coding exercises, debugging tasks, and small design problems.
MediumTechnical
20 practiced
A report generator currently scans the same task records multiple times to answer different summary questions, and the runtime is starting to hurt as the team grows. How would you reason about the bottleneck, and what would you change in the data flow so repeated lookups get faster without making the codebase hard to maintain?
EasyTechnical
19 practiced
Your operations team gets weekly status items from different managers, but the same item can appear with different capitalization, extra spaces, or punctuation. In Python, write a function that normalizes the titles, removes duplicates while preserving the first occurrence, and returns the cleaned list. Assume a few thousand strings at most.
MediumTechnical
16 practiced
A Python automation script was fine in local testing, but month-end runs are now slow and use much more memory. How would you debug whether the problem is caused by repeated file reads, string processing, or keeping too much data in memory, and what would you change first?
MediumTechnical
21 practiced
Your team wants one new automation tool that will be owned by a few engineers, run unattended every day, and occasionally do CPU-heavy parsing on large inputs. How would you choose between Python and Go for the implementation, and what factors would matter most beyond raw speed?
MediumTechnical
18 practiced
An overnight Python job reads a directory of daily status files. Some files are empty, one file has a malformed line, and another file may be missing. How would you structure the job so it keeps processing valid data, records which files failed, and still gives the operator a useful summary at the end?
Unlock Full Question Bank
Get access to hundreds of Programming Fundamentals in Python and Go interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.