Leetcode Basic Problems In Javascript How To Make Theoretical Framework