Guidewire interview question

SQL, Java related questions Leetcode medium level difficulty question