Leetcode Not A Query Object Reference Not Set