Questions › Technical PM › Top-Interview
Code an image-processing pipeline that reads per-image instruction files and applies ordered transformations (e.g., rotate, invert, crop, convert) to large sets of images of varying sizes across multiple folders.
- Technical PM
- Top-Interview
- Easy
- 10 min
For this technical PM question, concentrate on demonstrating your ability to efficiently utilize an image processing library to implement the required transformations. Start by identifying a suitable library (like OpenCV or PIL) and explain your choice based on its capabilities and ease of use. Then, outline how you would structure the pipeline to read the instruction files and apply the transformations in the specified order. Pay attention to handling images of varying sizes and ensure that your solution can process multiple folders seamlessly. Highlight any considerations for performance and error handling, as these are crucial in managing large sets of images.
What this question tests
- Technical PM
- Structured problem solving
- Communication
- Trade-off reasoning
Practise this question under interview conditions. Answer it out loud against a timer with an AI interviewer that asks follow-ups, then review the scored report.
Related Technical PM questions
- Maximum Number of Visible PointsTop-Interview · Technical PM · Easy
- Suppose your generative model needs to process very long inputs that exceed typical context limits. How would you approach managing or compressing that information effectively?Top-Interview · Technical PM · Easy
- What Gen AI skills do you think will be critical in the next year?Top-Interview · Technical PM · Easy
- How do you evaluate a Gen AI system?Top-Interview · Technical PM · Easy
- Are you familiar with AI prototyping? Which tools or platforms have you used, and what has your experience been with them so far?Top-Interview · Technical PM · Easy
- Write a function that converts stack samples into a trace, given example inputs and outputs, in a Google Colab environment.Top-Interview · Technical PM · Easy
All Technical PM questions · Product manager interview questions by skill area