Technical2026-08-13
How to achieve polymorphism
AI-Expanded — inferred from the question title, not from the original candidate report
Design a system that manages a collection of different geometric shapes, such as circles and rectangles, each with their own unique area calculation logic. Implement a common interface or base class that allows you to store these shapes in a single list and iterate through them to calculate the total area of all shapes without knowing their specific types at compile time.
Context & Summary
Personal Interview Round 1
💻 Coding practice works best on desktop.
Code editors are too cramped on mobile screens.
Conceptual Question
This appears to be a conceptual, design, or behavioral question rather than an algorithmic coding problem. The code editor and automated test cases have been disabled for this question.
Back to questions
InterviewDigest