Leetcode Problems In Javascript How To Make Theoretical Framework