How To Write Solution In Leetcode Javascript Roadmap