IBM interview question

One Leetcode medium/hard problem on balanced permutations and one SQL problem