InterviewDB Question · Los Angeles

ASCII Printer: Design a Pluggable ASCII Art Renderer for Shapes and Text

Question Details

Round 1 - Coding / OOD Problem Design an ASCII art rendering system. Support rendering rectangles, triangles, and text banners to a 2D character canvas. Each shape is a separate class. The canvas can combine multiple shapes and print the result. Example Follow-ups How do you handle overlapping shapes — which one takes priority and why? How would you add a Triangle shape that fills using Bresenham's line algorithm? How would you support layering (z-index) so shapes can be explicitly ordered? How…

Full Details

🔒

Unlock all Asana questions

Full insider details, leaked discussions, and candidate experiences.

Get full access — $100 a year, unlimited access

About This Question

This is a reported interview question from a asana interview during the onsite round.

It covers the following topics: Coding, Ood, Onsite .