this one was painful
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# Complexity\n- Time 
# 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# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```rust []\n\nimpl Solution {\n  pub fn area_of_max_diagonal(dimensions: Vec<Vec<i32>>) -> i32 {\n    // pythag but don\'t use floats\n    let mut max_area = 0;\n    let mut mx_diag: i32 = 0;\n    for v in dimensions.clone().iter() {\n      let a = v[0];\n      let b = v[1];\n      let mut c = (a*a + b*b);\n      if c >= mx_diag {\n        mx_diag = c;\n      }\n    }\n    for v in dimensions.clone().iter() {\n      if (v[0]*v[0] + v[1]*v[1]) == mx_diag {\n        max_area = max_area.max(v[0]*v[1]);\n      }\n    }\n    max_area\n  }\n}\n```
['Rust']