Leetcode Not A Query Object Oriented Database Structure