Given a set of images in IMAGES folder ( and there are 2 sub folders, Large and Small ) apply the image transformations defined in other folder (TRANSFORM) . Transform files are json files. and there are in this formar [{transform:'mirror', arg:[]}, ...] . can be many transform object in that array. I did not count but probably 10k images and for each image 200 json files to apply. I mentioned that i never worked with image processing before and interviewer said, ' I can use any library' , I spent 10 minutes to find and understand how to use that library, first step was just, load all the files, and transform files and start applying them to each image and save the transformed image in to output. given the numbers that takes quite a bit time to complete. second step add whatever you want ( threading, concurrency etc) to process more efficiently. third step, discuss doing it in larger scale (million image) and make it distributed . ( Images are in different places, output goes different places etc.) and have many workers ( adding queues, kafka etc) and you get 45 minutes to complete the task.
CodingSenior
Image Transform Pipeline with Scaling
Build a pipeline to apply JSON-defined transformations to 10k images, then optimize for performance using concurrency and design for distributed processing at million-image scale. Complete implementation, optimization, and architecture discussion within 45 minutes.
Contextos reais
Onde essa pergunta já apareceu
Use esses exemplos para entender em que contexto ela costuma cair e adaptar sua prática.
Anthropicstaff_plusmar. de 2026
Anexos públicos
Materiais associados
Nenhum anexo público associado a esta pergunta.
Próximo passo
Depois de treinar essa pergunta, vale abrir outras do mesmo tipo e da mesma senioridade para comparar padrões de resposta.
Isso ajuda a sair da memorização de uma resposta só e entrar em repertório real de entrevista.
Continue a preparação com o banco completo
No app você encontra perguntas parecidas, compara empresas e aprofunda essa busca com mais filtros.