Design a Bar Graph Library.

Medium
Company: Premium
GoogleAmazonUber

We're building a bar graph library, and it's time to level up! We need to make it more flexible, powerful, and robust. Imagine users wanting to visualize various datasets with different styling needs – from simple sales figures to complex scientific data. The core challenge lies in designing a system that can handle diverse data sources, customizable bar styles, and real-time updates while remaining performant and thread-safe. Let's think through the data structures that can hold the data and how can we make the library work in a multi-threaded environment.

Requirements

Think like an Architect

Before revealing the requirements, imagine you're in the interview right now."How would you clarify the scope with your interviewer?"

Premium Content

View detailed solutions.

UNLOCK PREMIUM