Autodesk Interview Question

Leetcode Easy OOPS and pior experience