Thought Machine Interview Question

2 DSA and code review