Kinetic Automation Interview Question

Leetcode coding test was the second round