System Design Leetcode Problems Javascript Function How To Use