SingleKey Interview Question

basic DSA check leetcode with runtime