TIDAL Interview Question

Basic algorithms and leetcode in js