Simple Java Solution
Intuition\n Describe your first thoughts on how to solve this problem. \n\n# Approach\n Describe your approach to solving the problem. \n\n\n# Complexity\n- Tim
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n\n# Complexity\n- Time complexity: O(n)\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity: O(1)\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\n    public int areaOfMaxDiagonal(int[][] dimensions) {\n        int max_area=0;\n        float max_d=0;\n        for(int i=0;i<dimensions.length;i++)\n        {\n            int l= dimensions[i][0];\n            int b= dimensions[i][1];\n            float len_d =(float)Math.sqrt((l*l)+(b*b));\n            if(max_d<len_d)\n            {\n                max_d=len_d;\n                max_area=l*b;\n            }\n            if(max_d==len_d)\n            {\n                if(max_area<l*b)\n                    max_area=l*b;\n            }\n        \n            \n        }\n        return max_area;\n        \n    }\n}\n```\nPlease Upvote!!
['Java']