Company: Walmart sparkplug
Difficulty: medium
Box in a Box A person wants to gift a ring box to his friend. He has N boxes of different dimensions (L[i], B[i], H[i]). A box can fit into another box if its volume and all its dimensions (length, breadth, height) are greater than those of the other box. Determine the maximum number of boxes that can be nested one inside another and return the dimensions of the ring box that can fit the maximum number of other boxes. If multiple boxes can fit the same number of boxes, choose the one with the least volume. If volumes are identical, choose based on the smallest dimensions in the order of length, breadth, and height. Rotation of the boxes is not allowed. Input Format The first line of input contains an integer 'T' denoting the number of test cases. The second line of each test case contains an integer 'N', representing the number of boxes. The third line of the test case contains 'N' space-separated integers representing elements of the array 'L'. The fourth line of the test case contain